|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensc.util.DestroyableChild
org.opensc.pkcs11.wrap.PKCS11Object
org.opensc.pkcs11.wrap.PKCS11Key
org.opensc.pkcs11.wrap.PKCS11PublicKey
public class PKCS11PublicKey
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
protected |
PKCS11PublicKey(PKCS11Session session,
int type,
long handle)
|
| Method Summary | |
|---|---|
byte[] |
getEncoded()
|
static List<PKCS11PublicKey> |
getPublicKeys(PKCS11Session session)
Fetches all private keys stored in the specified slot. |
| Methods inherited from class org.opensc.pkcs11.wrap.PKCS11Key |
|---|
getAlgorithm, getFormat, getKeyBits, getKeyType |
| Methods inherited from class org.opensc.pkcs11.wrap.PKCS11Object |
|---|
destroy, enumRawObjects, getAllowedMechanisms, getBooleanAttribute, getBooleanAttribute, getHandle, getId, getLabel, getProvider, getPvh, getRawAttribute, getSessionHandle, getSlotHandle, getULongAttribute, getULongAttribute |
| Methods inherited from class org.opensc.util.DestroyableChild |
|---|
getParent, isDestroyed, unlink |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.security.Key |
|---|
getAlgorithm, getFormat |
| Methods inherited from interface javax.security.auth.Destroyable |
|---|
isDestroyed |
| Constructor Detail |
|---|
protected PKCS11PublicKey(PKCS11Session session,
int type,
long handle)
throws PKCS11Exception
session - The session to which this key belongs.handle - The handle as returned by @see PKCS11Object#enumRawObjects(PKCS11Session, int).
PKCS11Exception| Method Detail |
|---|
public static List<PKCS11PublicKey> getPublicKeys(PKCS11Session session)
throws PKCS11Exception
session - The session of which to find the certificates.
PKCS11Exception - Upon errors from the underlying PKCS11 module.public byte[] getEncoded()
getEncoded in interface KeygetEncoded in class PKCS11Key
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||