|
|||||||||
| 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.PKCS11PrivateKey
org.opensc.pkcs11.wrap.PKCS11RSAPrivateKey
public class PKCS11RSAPrivateKey
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
protected |
PKCS11RSAPrivateKey(PKCS11Session session,
long handle)
|
| Method Summary | |
|---|---|
BigInteger |
getModulus()
|
BigInteger |
getPrivateExponent()
|
| Methods inherited from class org.opensc.pkcs11.wrap.PKCS11PrivateKey |
|---|
getFormat, getPrivateKeys, isExtractable, isSensitive |
| Methods inherited from class org.opensc.pkcs11.wrap.PKCS11Key |
|---|
getAlgorithm, getEncoded, 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, getEncoded, getFormat |
| Methods inherited from interface javax.security.auth.Destroyable |
|---|
isDestroyed |
| Constructor Detail |
|---|
protected PKCS11RSAPrivateKey(PKCS11Session session,
long handle)
throws PKCS11Exception
session - The PKCS#11 session to which we belong.handle - The object handle for this key.
PKCS11Exception - Upon errors when retrieving the data from the token.| Method Detail |
|---|
public BigInteger getPrivateExponent()
getPrivateExponent in interface RSAPrivateKeypublic BigInteger getModulus()
getModulus in interface RSAKey
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||