public interface PrivateKey
extends java.security.PrivateKey
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
PrivateKey.Type  | 
| Modifier and Type | Field and Description | 
|---|---|
static PrivateKey.Type | 
DiffieHellman  | 
static PrivateKey.Type | 
DSA  | 
static PrivateKey.Type | 
EC  | 
static PrivateKey.Type | 
RSA  | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
static final PrivateKey.Type RSA
static final PrivateKey.Type DSA
static final PrivateKey.Type EC
static final PrivateKey.Type DiffieHellman
PrivateKey.Type getType()
byte[] getUniqueID()
                   throws TokenException
TokenExceptionTokenCertificate.getUniqueID()int getStrength()
CryptoToken getOwningToken()