com.ibm.crypto.pkcs11impl.provider
Class PKCS11DSAKeyPairParameterSpec
- java.lang.Object
com.ibm.crypto.pkcs11impl.provider.PKCS11DSAKeyPairParameterSpec
All implemented interfaces:
java.security.spec.AlgorithmParameterSpec
- public class PKCS11DSAKeyPairParameterSpec
- extends java.lang.Object
- implements java.security.spec.AlgorithmParameterSpec
Constructor Summary
Constructor and Description |
---|
PKCS11DSAKeyPairParameterSpec(int keySize,java.lang.String keyIdentifier,java.lang.String subject,java.lang.String label,java.security.spec.AlgorithmParameterSpec params)
PKCS11DSAKeyPairParameterSpec defines the attributes of the keys, but defaults the
keys to not be saved on the token and keys not sensitive.
|
PKCS11DSAKeyPairParameterSpec(int keySize,java.lang.String id,java.lang.String subject,java.lang.String label,java.lang.Boolean isToken,java.lang.Boolean isSensitive,java.lang.Boolean extractable,java.security.spec.AlgorithmParameterSpec params)
PKCS11DSAKeyPairParameterSpec defines the attributes of the keys.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getExtractable()
Returns the if the private key can be wrapped by another key.
|
|
getKeyID()
Returns the associated key identifier.
|
|
getKeySize()
Returns the keySize
|
|
getLabel()
Returns the label for the key pair.
|
|
getParams()
Returns the params
|
|
getSensitive()
Returns if the private key is to be sensitive.
|
|
getSubject()
Returns the subject for the key pair.
|
|
getToken()
Returns the if the the keys are session or token keys.
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
PKCS11DSAKeyPairParameterSpec
- public PKCS11DSAKeyPairParameterSpec( int keySize,
- java.lang.String id,
- java.lang.String subject,
- java.lang.String label,
- java.lang.Boolean isToken,
- java.lang.Boolean isSensitive,
- java.lang.Boolean extractable,
- java.security.spec.AlgorithmParameterSpec params)
PKCS11DSAKeyPairParameterSpec defines the attributes of the keys.
Parameters:
keySize
- the key size PKCS11DSAKeyPairParameterSpec
- public PKCS11DSAKeyPairParameterSpec( int keySize,
- java.lang.String keyIdentifier,
- java.lang.String subject,
- java.lang.String label,
- java.security.spec.AlgorithmParameterSpec params)
PKCS11DSAKeyPairParameterSpec defines the attributes of the keys, but defaults the
keys to not be saved on the token and keys not sensitive.
Parameters:
keySize
- the key size keyIdentifier
- the data that identifies this key pair for another key pair. subject
- the subject of the keys that will be associated with a corresponding
certificate label
- to describe the keys. params
- the DSA AlgorithmParameterSpec Method Detail
getKeySize
- public int getKeySize()
Returns the keySize
Returns:
the keySize
getKeyID
- public java.lang.String getKeyID( )
Returns the associated key identifier.
Returns:
the key identifier
getSubject
- public java.lang.String getSubject( )
Returns the subject for the key pair.
Returns:
the subject
getLabel
- public java.lang.String getLabel( )
Returns the label for the key pair.
Returns:
the label
getSensitive
- public java.lang.Boolean getSensitive( )
Returns if the private key is to be sensitive.
Returns:
true if the private key is to sensitive, null if not specified.
getToken
- public java.lang.Boolean getToken( )
Returns the if the the keys are session or token keys.
Returns:
true if keys are token keys, null if not specified.
getExtractable
- public java.lang.Boolean getExtractable( )
Returns the if the private key can be wrapped by another key.
Returns:
true if the private key can be wrapped by another key, null if not specified.
getParams
- public java.security.spec.AlgorithmParameterSpec getParams( )
Returns the params
Returns:
the params