Uses of Interface
java.security.Principal
| Package | Description |
|---|---|
| com.squareup.okhttp.internal.http | |
| java.net | |
| java.security |
Extensible cryptographic service provider infrastructure (SPI) for using
and defining services such as
Certificates,
Keys, KeyStores, MessageDigests, and Signatures. |
| java.security.acl |
This package provides the classes and the interfaces needed to build Access Control Lists.
|
| java.security.cert |
This package provides all the classes and all the interfaces needed to generate, administer and verify
X.509 certificates.
|
| javax.net.ssl |
This package provides classes and interfaces needed to use the Secure
Sockets Layer (SSL) protocol and the successor Transport Layer
Security (TLS) protocol.
|
| javax.security.auth | |
| javax.security.auth.x500 |
This package provides classes needed to store X.500 principals and their
credentials.
|
| javax.security.cert |
This package is provided only for compatibility reasons.
|
| org.apache.harmony.security | |
| org.apache.harmony.security.provider.cert | |
| org.apache.http.auth |
The API for client-side HTTP authentication against a server,
commonly referred to as HttpAuth.
|
| org.bouncycastle.jce | |
| org.bouncycastle.jce.provider | |
| org.bouncycastle.x509 | |
| org.conscrypt |
-
Uses of Principal in com.squareup.okhttp.internal.http
Methods in com.squareup.okhttp.internal.http that return Principal Modifier and Type Method Description PrincipalHttpsURLConnectionImpl. getLocalPrincipal()PrincipalHttpsURLConnectionImpl. getPeerPrincipal() -
Uses of Principal in java.net
Methods in java.net that return Principal Modifier and Type Method Description abstract PrincipalSecureCacheResponse. getLocalPrincipal()Gets the local principle that the original connection sent to the server.abstract PrincipalSecureCacheResponse. getPeerPrincipal()Gets the server's principle. -
Uses of Principal in java.security
Classes in java.security that implement Principal Modifier and Type Class Description classIdentityDeprecated.classIdentityScopeclassSignerDeprecated.Use thejava.security.certpackage andPrincipalinstead.Methods in java.security that return Principal Modifier and Type Method Description PrincipalCertificate. getGuarantor()Deprecated.Returns the guarantor of this certificate.PrincipalCertificate. getPrincipal()Deprecated.Returns the principal of this certificate.Principal[]ProtectionDomain. getPrincipals()Methods in java.security with parameters of type Principal Modifier and Type Method Description IdentityIdentityScope. getIdentity(Principal principal)Deprecated.Returns theIdentitywith the name of the specified principal ornullif noIdentitywith the name of the specified principal is present in this scope.Constructors in java.security with parameters of type Principal Constructor Description ProtectionDomain(CodeSource cs, PermissionCollection permissions, ClassLoader cl, Principal[] principals) -
Uses of Principal in java.security.acl
Subinterfaces of Principal in java.security.acl Modifier and Type Interface Description interfaceGroupAPrincipalthat represents a group of principals.Methods in java.security.acl that return Principal Modifier and Type Method Description PrincipalAclEntry. getPrincipal()Returns the principal of this ACL entry.Methods in java.security.acl that return types with arguments of type Principal Modifier and Type Method Description Enumeration<? extends Principal>Group. members()Returns the members of this group.Methods in java.security.acl with parameters of type Principal Modifier and Type Method Description booleanAcl. addEntry(Principal caller, AclEntry entry)Adds anAclEntryto this ACL instance.booleanGroup. addMember(Principal user)Adds a member to this group.booleanOwner. addOwner(Principal caller, Principal owner)Adds a principal to the list of owners.booleanAcl. checkPermission(Principal principal, Permission permission)Checks whether the specified principal is granted the specified permission.booleanOwner. deleteOwner(Principal caller, Principal owner)Removes a principal from the list of owners.Enumeration<Permission>Acl. getPermissions(Principal user)Returns the set of allowed permissions for the specifiedPrincipal.booleanGroup. isMember(Principal member)Returns whether the specified principal is a member of this group.booleanOwner. isOwner(Principal owner)Checks whether the specified principal is an owner of this object.booleanAcl. removeEntry(Principal caller, AclEntry entry)Removes anAclEntryfrom this ACL instance.booleanGroup. removeMember(Principal user)Removes a member from this group.voidAcl. setName(Principal caller, String name)Sets the name of this ACL instance.booleanAclEntry. setPrincipal(Principal user)Set the principal for this ACL entry. -
Uses of Principal in java.security.cert
Methods in java.security.cert that return Principal Modifier and Type Method Description abstract PrincipalX509Certificate. getIssuerDN()Returns theissuer(issuer distinguished name) as an implementation specificPrincipalobject.abstract PrincipalX509CRL. getIssuerDN()Do not use, useX509CRL.getIssuerX500Principal()instead.abstract PrincipalX509Certificate. getSubjectDN()Returns thesubject(subject distinguished name) as an implementation specificPrincipalobject. -
Uses of Principal in javax.net.ssl
Methods in javax.net.ssl that return Principal Modifier and Type Method Description PrincipalHandshakeCompletedEvent. getLocalPrincipal()Returns thePrincipalused to identify during the handshake.PrincipalHttpsURLConnection. getLocalPrincipal()Returns thePrincipalused to identify the local host during the handshake.PrincipalSSLSession. getLocalPrincipal()Returns the principal used to identify the local side to the peer during the handshake.PrincipalHandshakeCompletedEvent. getPeerPrincipal()Returns thePrincipalidentifying the peer.PrincipalHttpsURLConnection. getPeerPrincipal()Returns thePrincipalidentifying the peer.PrincipalSSLSession. getPeerPrincipal()Returns the principal identifying the peer during the handshake.Methods in javax.net.ssl with parameters of type Principal Modifier and Type Method Description StringX509KeyManager. chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket)Chooses an alias for the client side of an SSL connection to authenticate it with the specified public key type and certificate issuers.StringX509ExtendedKeyManager. chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine)Chooses an alias for the client side of an SSL connection to authenticate it with the specified public key type and certificate issuers.StringX509ExtendedKeyManager. chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine)Chooses an alias for the server side of an SSL connection to authenticate it with the specified public key type and certificate issuers.StringX509KeyManager. chooseServerAlias(String keyType, Principal[] issuers, Socket socket)Chooses an alias for the server side of an SSL connection to authenticate it with the specified public key type and certificate issuers.String[]X509KeyManager. getClientAliases(String keyType, Principal[] issuers)Returns the client aliases for the specified public key type and list of certificate issuers.String[]X509KeyManager. getServerAliases(String keyType, Principal[] issuers)Returns the server aliases for the specified public key type and list of certificate issuers. -
Uses of Principal in javax.security.auth
Methods in javax.security.auth with type parameters of type Principal Modifier and Type Method Description <T extends Principal>
Set<T>Subject. getPrincipals(Class<T> c)Methods in javax.security.auth that return types with arguments of type Principal Modifier and Type Method Description Set<Principal>Subject. getPrincipals()Returns thisSubject'sPrincipal.Constructor parameters in javax.security.auth with type arguments of type Principal Constructor Description Subject(boolean readOnly, Set<? extends Principal> subjPrincipals, Set<?> pubCredentials, Set<?> privCredentials)The constructor for the subject, setting its public and private credentials and principals according to the arguments. -
Uses of Principal in javax.security.auth.x500
Classes in javax.security.auth.x500 that implement Principal Modifier and Type Class Description classX500PrincipalRepresents an X.500 principal, which holds the distinguished name of some network entity. -
Uses of Principal in javax.security.cert
Methods in javax.security.cert that return Principal Modifier and Type Method Description abstract PrincipalX509Certificate. getIssuerDN()Returns theissuer(issuer distinguished name) as an implementation specificPrincipalobject.abstract PrincipalX509Certificate. getSubjectDN()Returns thesubject(subject distinguished name) as an implementation specificPrincipalobject. -
Uses of Principal in org.apache.harmony.security
Classes in org.apache.harmony.security that implement Principal Modifier and Type Class Description classSystemScope -
Uses of Principal in org.apache.harmony.security.provider.cert
Methods in org.apache.harmony.security.provider.cert that return Principal Modifier and Type Method Description PrincipalX509CertImpl. getIssuerDN()PrincipalX509CRLImpl. getIssuerDN()PrincipalX509CertImpl. getSubjectDN() -
Uses of Principal in org.apache.http.auth
Classes in org.apache.http.auth that implement Principal Modifier and Type Class Description classBasicUserPrincipalBasic user principal used for HTTP authenticationclassNTUserPrincipalNT (MS Windows specific) user principal used for HTTP authenticationMethods in org.apache.http.auth that return Principal Modifier and Type Method Description PrincipalCredentials. getUserPrincipal()PrincipalNTCredentials. getUserPrincipal()PrincipalUsernamePasswordCredentials. getUserPrincipal() -
Uses of Principal in org.bouncycastle.jce
Classes in org.bouncycastle.jce that implement Principal Modifier and Type Class Description classX509Principala general extension of X509Name with a couple of extra methods and constructors. -
Uses of Principal in org.bouncycastle.jce.provider
Methods in org.bouncycastle.jce.provider that return Principal Modifier and Type Method Description PrincipalX509CertificateObject. getIssuerDN()PrincipalX509CRLObject. getIssuerDN()PrincipalX509CertificateObject. getSubjectDN() -
Uses of Principal in org.bouncycastle.x509
Methods in org.bouncycastle.x509 that return Principal Modifier and Type Method Description Principal[]AttributeCertificateHolder. getEntityNames()Deprecated.Return any principal objects inside the attribute certificate holder entity names field.Principal[]AttributeCertificateHolder. getIssuer()Deprecated.Return the principals associated with the issuer attached to this holderPrincipal[]AttributeCertificateIssuer. getPrincipals()Deprecated.Return any principal objects inside the attribute certificate issuer object. -
Uses of Principal in org.conscrypt
Methods in org.conscrypt that return Principal Modifier and Type Method Description PrincipalOpenSSLX509Certificate. getIssuerDN()PrincipalOpenSSLX509CRL. getIssuerDN()PrincipalOpenSSLSessionImpl. getLocalPrincipal()Returns the principal (subject) of this concrete SSL session used in the handshaking phase of the connection.PrincipalSSLSessionImpl. getLocalPrincipal()PrincipalOpenSSLSessionImpl. getPeerPrincipal()The identity of the principal that was used by the peer during the SSL handshake phase is returned by this method.PrincipalSSLSessionImpl. getPeerPrincipal()PrincipalOpenSSLX509Certificate. getSubjectDN()Methods in org.conscrypt with parameters of type Principal Modifier and Type Method Description StringKeyManagerImpl. chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket)StringKeyManagerImpl. chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine engine)StringKeyManagerImpl. chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine)StringKeyManagerImpl. chooseServerAlias(String keyType, Principal[] issuers, Socket socket)String[]KeyManagerImpl. getClientAliases(String keyType, Principal[] issuers)String[]KeyManagerImpl. getServerAliases(String keyType, Principal[] issuers)
Principal,KeyStoreand thejava.security.certpackage instead.