|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.crypto.pkcs11impl.provider.PKCS11DSAKeyPairParameterSpec
public class PKCS11DSAKeyPairParameterSpec
This class specifies a PKCS11 DSA PKCS key pair generation specification
Constructor Summary | |
---|---|
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 | |
---|---|
java.lang.Boolean |
getExtractable()
Returns the if the private key can be wrapped by another key. |
java.lang.String |
getKeyID()
Returns the associated key identifier. |
int |
getKeySize()
Returns the keySize |
java.lang.String |
getLabel()
Returns the label for the key pair. |
java.security.spec.AlgorithmParameterSpec |
getParams()
Returns the params |
java.lang.Boolean |
getSensitive()
Returns if the private key is to be sensitive. |
java.lang.String |
getSubject()
Returns the subject for the key pair. |
java.lang.Boolean |
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 |
---|
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)
keySize
- the key sizekeyIdentifier
- the data that identifies this key pair for another key pair.subject
- the subject of the keys that will be associated with a corresponding
certificatelabel
- to describe the keys.isToken
- is set to True if the key pair is to be saved on the tokenisSensitive
- is set to True if the private key is sensitiveextractable
- is set to True to allow the private key to be wrapped with another key.params
- the DSA AlgorithmParameterSpecpublic PKCS11DSAKeyPairParameterSpec(int keySize, java.lang.String keyIdentifier, java.lang.String subject, java.lang.String label, java.security.spec.AlgorithmParameterSpec params)
keySize
- the key sizekeyIdentifier
- the data that identifies this key pair for another key pair.subject
- the subject of the keys that will be associated with a corresponding
certificatelabel
- to describe the keys.params
- the DSA AlgorithmParameterSpecMethod Detail |
---|
public int getKeySize()
public java.lang.String getKeyID()
public java.lang.String getSubject()
public java.lang.String getLabel()
public java.lang.Boolean getSensitive()
public java.lang.Boolean getToken()
public java.lang.Boolean getExtractable()
public java.security.spec.AlgorithmParameterSpec getParams()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |