com.ibm.crypto.pkcs11impl.provider
Interface PKCS11DSAPrivateKey
-
- All Superinterfaces:
- javax.security.auth.Destroyable, java.security.interfaces.DSAKey, java.security.interfaces.DSAPrivateKey, java.security.Key, com.ibm.pkcs11.P11Key, PKCS11Key, PKCS11PrivateKey, java.security.PrivateKey, java.io.Serializable
- All Known Implementing Classes:
- DSAPrivateKey
public interface PKCS11DSAPrivateKey extends PKCS11PrivateKey, java.security.interfaces.DSAPrivateKey
Contains the basic things needed for a PKCS 11 DSA private key. It is a subclass of PKCS11PrivateKey.
-
-
Field Summary
Fields Modifier and Type Field and Description static longserialVersionUID
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.math.BigIntegergetBase()Returns the basejava.math.BigIntegergetPrime()Returns the primejava.math.BigIntegergetSubprime()Returns the subprimejava.math.BigIntegergetValue()Returns the value, if available-
Methods inherited from interface com.ibm.crypto.pkcs11impl.provider.PKCS11PrivateKey
getAlwaysSensitive, getAuthPinFlags, getDecrypt, getExtractable, getNeverExtractable, getSecondaryAuth, getSensitive, getSign, getSignRecover, getSubject, getUnwrap, setKeyAsToken
-
Methods inherited from interface com.ibm.crypto.pkcs11impl.provider.PKCS11Key
getDerive, getEndDate, getID, getKeyType, getLabel, getLocal, getModifiable, getObject, getPrivate, getSessionManager, getStartDate, getToken, rm
-
-
-
-
Field Detail
-
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPrime
java.math.BigInteger getPrime()
Returns the prime- Returns:
- the prime p
-
getSubprime
java.math.BigInteger getSubprime()
Returns the subprime- Returns:
- the subprime q
-
getBase
java.math.BigInteger getBase()
Returns the base- Returns:
- the base g.
-
getValue
java.math.BigInteger getValue()
Returns the value, if available- Returns:
- the private value x, if available
-
-