|
JSS 3.1.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.mozilla.jss.pkcs11.PK11Key
|
+--org.mozilla.jss.pkcs11.PK11PrivKey
| Inner classes inherited from class org.mozilla.jss.crypto.PrivateKey |
PrivateKey.Type |
| Fields inherited from class org.mozilla.jss.pkcs11.PK11Key |
keyProxy |
| Fields inherited from interface org.mozilla.jss.crypto.PrivateKey |
DSA, RSA |
| Fields inherited from interface java.security.PrivateKey |
serialVersionUID |
| Constructor Summary | |
protected |
PK11PrivKey(byte[] pointer)
|
| Method Summary | |
KeyType |
getKeyType()
|
CryptoToken |
getOwningToken()
Returns a new CryptoToken where this key resides. |
int |
getStrength()
Returns the size in bits of the modulus of an RSA Private key. |
PrivateKey.Type |
getType()
Returns the type (RSA or DSA) of this private key. |
byte[] |
getUniqueID()
Returns the unique ID of this key. |
void |
verifyKeyIsOnToken(PK11Token token)
Make sure this key lives on the given token. |
| Methods inherited from class org.mozilla.jss.pkcs11.PK11Key |
getAlgorithm, getEncoded, getFormat, readObject, writeObject |
| Methods inherited from class java.lang.Object |
|
| Methods inherited from interface java.security.Key |
getAlgorithm, getEncoded, getFormat |
| Constructor Detail |
protected PK11PrivKey(byte[] pointer)
| Method Detail |
public void verifyKeyIsOnToken(PK11Token token)
throws NoSuchItemOnTokenException
public CryptoToken getOwningToken()
getOwningToken in interface PrivateKey
public byte[] getUniqueID()
throws TokenException
PrivateKeygetUniqueID in interface PrivateKeyorg.mozilla.jss.crypto.PrivateKeyTokenCertificate.getUniqueID()public KeyType getKeyType()
public PrivateKey.Type getType()
PrivateKeygetType in interface PrivateKeypublic int getStrength()
getStrength in interface PrivateKey
|
JSS 3.1.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||