|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.crypto.pkcs11impl.module.PKCS11Principal
public class PKCS11Principal
This class implements the Principal interface
and represents the name of a PKCS11 library and session into which the
user authenticated.
Principals such as this PKCS11Principal
may be associated with a particular Subject
to augment that Subject with an additional
identity. Refer to the Subject class for more information
on how to achieve this.
Principal,
Subject,
Serialized Form| Constructor Summary | |
|---|---|
PKCS11Principal(java.lang.String name,
com.ibm.crypto.pkcs11impl.provider.SessionManager manager)
Deprecated. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Deprecated. |
java.lang.String |
getName()
Deprecated. |
com.ibm.crypto.pkcs11impl.provider.SessionManager |
getSessionManager()
Deprecated. |
int |
hashCode()
Deprecated. |
java.lang.String |
toString()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PKCS11Principal(java.lang.String name,
com.ibm.crypto.pkcs11impl.provider.SessionManager manager)
PKCS11Principal with PKCS11 library name and session.
name - the path and name of PKCS11 library. sess - the PKCS11 session based on the PKCS11 library. | Method Detail |
|---|
public com.ibm.crypto.pkcs11impl.provider.SessionManager getSessionManager()
PKCS11Principal.
PKCS11Principalpublic java.lang.String getName()
PKCS11Principal.
getName in interface java.security.PrincipalPKCS11\Principalpublic java.lang.String toString()
PKCS11Principal.
toString in interface java.security.PrincipaltoString in class java.lang.ObjectPKCS11Principal.public boolean equals(java.lang.Object o)
PKCS11Principal
for equality. Returns true if the given object is also a
PKCS11Principal and the two PKCS11Principals
have the same dll name and session handle.
equals in interface java.security.Principalequals in class java.lang.Objecto - Object to be compared for equality with this
PKCS11Principal.
PKCS11Principal.public int hashCode()
PKCS11Principal.
hashCode in interface java.security.PrincipalhashCode in class java.lang.ObjectPKCS11Principal.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||