Uses of Interface java.security.Principal

Uses in package java.security.cert

Methods with return type java.security.Principal

Principal
Returns the issuer (issuer distinguished name) of the Certificate.
Principal
Returns the issuer (issuer distinguished name) of the CRL.
Principal
Returns the subject (subject distinguished name) of the Certificate.

Uses in package javax.security.auth.x500

Classes implementing java.security.Principal

class

Uses in package gnu.java.security.x509

Classes implementing java.security.Principal

class

Methods with parameter type java.security.Principal

void
void
void

Methods with return type java.security.Principal

Principal
Principal
Principal

Uses in package javax.net.ssl

Methods with parameter type java.security.Principal

String
X509KeyManager.chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket)
Choose an alias for client-side authentication.
String
Return a client alias given a list of key types, a list of allowable issuers, and the SSLEngine being used.
String
Return a server alias given a key type, a list of allowable issuers, and the SSLEngine being used.
String
X509KeyManager.chooseServerAlias(String keyType, Principal[] issuers, Socket socket)
Choose an alias for server-side authentication.
String[]
Returns all client aliases that support the given key type.
String[]
Returns all server aliases that support the given key type.

Methods with return type java.security.Principal

Principal
Returns the local identity used in this connection, or null if there is none.
Principal
Returns the local principal for this connection.
Principal
Returns the Principal representing the local identity used in this session, or null if there is no local identity.
Principal
Returns the peer's identity, or null if there is none.
Principal
Returns the remote peer's principal for this connection.
Principal
Returns the Principal representing the identity of the remote peer, or null if the remote peer has no known identity.

Uses in package java.security

Classes implementing java.security.Principal

class
The Identity class is used to represent people and companies that can be authenticated using public key encryption.
class
IdentityScope represents a scope of an identity.
class
Signer is a subclass of Identity.

Constructors with parameter type java.security.Principal

ProtectionDomain.ProtectionDomain(CodeSource codesource, PermissionCollection permissions, ClassLoader classloader, Principal[] principals)
This method initializes a new instance of ProtectionDomain given its CodeSource, granted permissions, associated ClassLoader and Principals.

Methods with parameter type java.security.Principal

Identity
Returns the specified Identity, by Principal, within this scope.

Methods with return type java.security.Principal

Principal
This method returns the Principal that is guaranteeing this certificate.
Principal
This method returns the Principal being guaranteed by this certificate.
Principal[]
Returns a clone of the Principals of this domain.

Uses in package java.security.acl

Methods with parameter type java.security.Principal

boolean
Acl.addEntry(Principal caller, AclEntry entry)
This method adds the specified entry to the ACL
boolean
This method adds a new Principal to this group.
boolean
This method adds an owner to the access control list (ACL).
boolean
This method tests whether or not the specified Principal has the specified Permission
boolean
This method delets an owner from the access control list (ACL).
Enumeration
This method returns a list of Permission's that are granted to a particular Principal.
boolean
This method tests whether or not a given Principal is a member of this group.
boolean
This method tests whether or not a given Principal is an owner of this access control list (ACL).
boolean
This method delets the specified entry from the ACL
boolean
This method deletes a member from the group.
void
Acl.setName(Principal caller, String name)
This method sets the name of the ACL
boolean
This method sets ths Principal associated with this ACL entry.

Methods with return type java.security.Principal

Principal
This method returns the Principal associated with this ACL entry.

Uses in package javax.security.cert

Methods with return type java.security.Principal

Principal
Returns the distinguished name of this certificate's issuer.
Principal
Returns the distinguished name of this certificate's subject.

Uses in package gnu.javax.net.ssl

Methods with return type java.security.Principal

Principal
Returns the Principal representing the local identity used in this session, or null if there is no local identity.
Principal
Returns the Principal representing the identity of the remote peer, or null if the remote peer has no known identity.

Uses in package javax.security.auth.kerberos

Classes implementing java.security.Principal

class
This represents a Kerberos principal.