|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.crypto.pkcs11impl.provider.PKCS11RSAKeyPairParameterSpec
public class PKCS11RSAKeyPairParameterSpec
This class specifies a PKCS #11 RSA key pair generation specification
| Constructor Summary | |
|---|---|
PKCS11RSAKeyPairParameterSpec(int strength,
java.lang.String keyIdentifier,
java.lang.String subject,
java.lang.String label)
PKCS11RSAKeyPairParameterSpec defines the attributes for a RSA key pair. |
|
PKCS11RSAKeyPairParameterSpec(int strength,
java.lang.String keyIdentifier,
java.lang.String subject,
java.lang.String label,
java.lang.Boolean isToken,
java.lang.Boolean isSensitive,
java.lang.Boolean signing,
java.lang.Boolean encryption,
java.lang.Boolean wrapping,
java.lang.Boolean extractable)
PKCS11RSAKeyPairParameterSpec defines the attributes for a RSA key pair. |
|
| Method Summary | |
|---|---|
java.lang.Boolean |
getEncrypt()
Returns if the key pair can be used for encryption/decryption operations. |
java.lang.Boolean |
getExtractable()
Returns if the private can be wrapped by another key. |
java.lang.String |
getKeyID()
Returns the associated key identifier. |
java.lang.String |
getLabel()
Returns the label for the key pair. |
java.lang.Boolean |
getSensitive()
Returns if the private key is to be sensitive. |
java.lang.Boolean |
getSign()
Returns if the key pair can be used for signature operations. |
int |
getStrength()
Returns the strength |
java.lang.String |
getSubject()
Returns the subject for the key pair. |
java.lang.Boolean |
getToken()
Returns if the the keys are session or token keys. |
java.lang.Boolean |
getWrap()
Returns if the key pair can be used for wrapping operations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PKCS11RSAKeyPairParameterSpec(int strength,
java.lang.String keyIdentifier,
java.lang.String subject,
java.lang.String label,
java.lang.Boolean isToken,
java.lang.Boolean isSensitive,
java.lang.Boolean signing,
java.lang.Boolean encryption,
java.lang.Boolean wrapping,
java.lang.Boolean extractable)
strength - the key strengthkeyIdentifier - the data that identifies this key pair for another key pair.
no * @param 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 beisSensitive - is set to True if the private key is sensitivesigning - is set to True if the key pair can be used for signing and verifying dataencryption - is set to True if the key pair can be used for encrypting and
decrypting datawrapping - is set to True if the keys can be used to wrap/unwrap other keys.extractable - is set to True to allow the private key to be wrapped with another key.
public PKCS11RSAKeyPairParameterSpec(int strength,
java.lang.String keyIdentifier,
java.lang.String subject,
java.lang.String label)
strength - the key strengthkeyIdentifier - 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.| Method Detail |
|---|
public int getStrength()
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 getSign()
public java.lang.Boolean getEncrypt()
public java.lang.Boolean getWrap()
public java.lang.Boolean getExtractable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||