|
JSS 3.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Private Keys used by JSS. All the private keys handled by JSS are of this type, which is a subtype of java.security.PrivateKey.
| Nested Class Summary | |
static class |
PrivateKey.Type
|
| Field Summary | |
static PrivateKey.Type |
DiffieHellman
|
static PrivateKey.Type |
DSA
|
static PrivateKey.Type |
RSA
|
| Fields inherited from interface java.security.PrivateKey |
serialVersionUID |
| Method Summary | |
CryptoToken |
getOwningToken()
Returns the CryptoToken that owns this private key. |
int |
getStrength()
Returns the size, in bits, of the modulus of an RSA key. |
PrivateKey.Type |
getType()
Returns the type (RSA or DSA) of this private key. |
byte[] |
getUniqueID()
Deprecated. This ID is based on an implementation that might change. If this functionality is required, it should be provided in another way, such as a function that directly matches a cert and key. |
| Methods inherited from interface java.security.Key |
getAlgorithm, getEncoded, getFormat |
| Field Detail |
public static final PrivateKey.Type RSA
public static final PrivateKey.Type DSA
public static final PrivateKey.Type DiffieHellman
| Method Detail |
public PrivateKey.Type getType()
public byte[] getUniqueID()
throws TokenException
TokenExceptionTokenCertificate.getUniqueID()public int getStrength()
public CryptoToken getOwningToken()
|
JSS 3.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||