com.ibm.crypto.pkcs11impl.provider

Class PKCS11DSAKeyPairParameterSpec

  1. java.lang.Object
  2. extended bycom.ibm.crypto.pkcs11impl.provider.PKCS11DSAKeyPairParameterSpec
All implemented interfaces:
java.security.spec.AlgorithmParameterSpec

  1. public class PKCS11DSAKeyPairParameterSpec
  2. extends java.lang.Object
  3. implements java.security.spec.AlgorithmParameterSpec
This class specifies a PKCS11 DSA PKCS key pair generation specification

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
  1. java.lang.Boolean
getExtractable()
Returns the if the private key can be wrapped by another key.
  1. java.lang.String
getKeyID()
Returns the associated key identifier.
  1. int
getKeySize()
Returns the keySize
  1. java.lang.String
getLabel()
Returns the label for the key pair.
  1. java.security.spec.AlgorithmParameterSpec
getParams()
Returns the params
  1. java.lang.Boolean
getSensitive()
Returns if the private key is to be sensitive.
  1. java.lang.String
getSubject()
Returns the subject for the key pair.
  1. 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

PKCS11DSAKeyPairParameterSpec

  1. public PKCS11DSAKeyPairParameterSpec( int keySize,
  2. java.lang.String id,
  3. java.lang.String subject,
  4. java.lang.String label,
  5. java.lang.Boolean isToken,
  6. java.lang.Boolean isSensitive,
  7. java.lang.Boolean extractable,
  8. java.security.spec.AlgorithmParameterSpec params)
PKCS11DSAKeyPairParameterSpec defines the attributes of the keys.
Parameters:
keySize - the key size

PKCS11DSAKeyPairParameterSpec

  1. public PKCS11DSAKeyPairParameterSpec( int keySize,
  2. java.lang.String keyIdentifier,
  3. java.lang.String subject,
  4. java.lang.String label,
  5. 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

  1. public int getKeySize()
Returns the keySize
Returns:
the keySize

getKeyID

  1. public java.lang.String getKeyID( )
Returns the associated key identifier.
Returns:
the key identifier

getSubject

  1. public java.lang.String getSubject( )
Returns the subject for the key pair.
Returns:
the subject

getLabel

  1. public java.lang.String getLabel( )
Returns the label for the key pair.
Returns:
the label

getSensitive

  1. 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

  1. 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

  1. 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

  1. public java.security.spec.AlgorithmParameterSpec getParams( )
Returns the params
Returns:
the params