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( )}
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.