Name
Principal
Synopsis
This
interface represents any entity that may serve as a principal in a
cryptographic transaction of any kind. A Principal
may represent an individual, a computer, or an organization, for
example.
public interface Principal { // Public Instance Methods boolean equals(Object another); String getName( ); int hashCode( ); String toString( ); }
Implementations
Identity,
javax.security.auth.kerberos.KerberosPrincipal,
javax.security.auth.x500.X500Principal
Passed To
IdentityScope.getIdentity( ),
ProtectionDomain.ProtectionDomain( ),
javax.net.ssl.X509ExtendedKeyManager.{chooseEngineClientAlias(
), chooseEngineServerAlias( )},
javax.net.ssl.X509KeyManager.{chooseClientAlias(
), chooseServerAlias( ),
getClientAliases( ), getServerAliases(
)}
Returned By
java.net.SecureCacheResponse.{getLocalPrincipal(
), getPeerPrincipal( )},
java.security.Certificate.{getGuarantor( ),
getPrincipal( )},
ProtectionDomain.getPrincipals( ),
java.security.cert.X509Certificate.{getIssuerDN(
), getSubjectDN( )},
java.security.cert.X509CRL.getIssuerDN( ),
javax.net.ssl.HandshakeCompletedEvent.{getLocalPrincipal(
), getPeerPrincipal( )},
javax.net.ssl.HttpsURLConnection.{getLocalPrincipal(
), getPeerPrincipal( )},
javax.net.ssl.SSLSession.{getLocalPrincipal( ),
getPeerPrincipal( )}
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access