public class PK11DSAPrivateKey extends PK11PrivKey implements java.security.interfaces.DSAPrivateKey
PrivateKey.Type| Modifier and Type | Field and Description |
|---|---|
protected org.mozilla.jss.pkcs11.KeyProxy |
keyProxy |
DiffieHellman, DSA, EC, RSA| Modifier | Constructor and Description |
|---|---|
protected |
PK11DSAPrivateKey(byte[] pointer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
finalize() |
byte[] |
getEncoded()
Subclasses that support encoding can overload this method.
|
java.lang.String |
getFormat()
Subclasses that support encoding can overload this method.
|
java.security.interfaces.DSAParams |
getParams()
If this fails, we just return null, since no exceptions are allowed.
|
PrivateKey.Type |
getType()
Returns the type (RSA or DSA) of this private key.
|
java.math.BigInteger |
getX()
Not implemented.
|
fromPrivateKeyInfo, fromPrivateKeyInfo, fromPrivateKeyInfo, getAlgorithm, getDSAParams, getKeyType, getOwningToken, getPublicKey, getStrength, getUniqueID, verifyKeyIsOnTokenpublic PrivateKey.Type getType()
PrivateKeygetType in class PK11PrivKeypublic java.security.interfaces.DSAParams getParams()
getParams in interface java.security.interfaces.DSAKeypublic java.math.BigInteger getX()
getX in interface java.security.interfaces.DSAPrivateKeypublic byte[] getEncoded()
getEncoded in interface java.security.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exception