IAIK PKCS#11 Provider API Documentation
version 1.6

iaik.pkcs.pkcs11.provider.keygenerators
Class PKCS11SSL3MasterKeyDerivationSpec

java.lang.Object
  extended by iaik.pkcs.pkcs11.provider.spec.PKCS11Spec
      extended by iaik.pkcs.pkcs11.provider.keygenerators.PKCS11KeyGenerationSpec
          extended by iaik.pkcs.pkcs11.provider.keygenerators.PKCS11KeyDerivationSpec
              extended by iaik.pkcs.pkcs11.provider.keygenerators.PKCS11SSL3MasterKeyDerivationSpec
All Implemented Interfaces:
java.security.spec.AlgorithmParameterSpec, java.security.spec.KeySpec

public class PKCS11SSL3MasterKeyDerivationSpec
extends PKCS11KeyDerivationSpec

Objects of this algorithm parameters class allows an application to control the generation of PKCS#11 keys using the provided JCE key generators.


Field Summary
 
Fields inherited from class iaik.pkcs.pkcs11.provider.spec.PKCS11Spec
USE_PUBLIC_SESSION, USE_READ_ONLY_SESSION, USE_READ_WRITE_SESSION, USE_USER_SESSION
 
Constructor Summary
PKCS11SSL3MasterKeyDerivationSpec(iaik.pkcs.pkcs11.objects.SecretKey baseKey, byte majorVersion, byte minorVersion, byte[] clientRandom, byte[] serverRandom)
          Instantiates a new SSL3 master key derive spec.
PKCS11SSL3MasterKeyDerivationSpec(TokenManager tokenManager, boolean useROSession, boolean useUserSession, iaik.pkcs.pkcs11.objects.SecretKey baseKey, byte majorVersion, byte minorVersion, byte[] clientRandom, byte[] serverRandom)
          Deprecated.  
 
Method Summary
 iaik.pkcs.pkcs11.parameters.SSL3RandomDataParameters getRandomData()
          Gets the random data object.
 iaik.pkcs.pkcs11.parameters.VersionParameters getVersionParameters()
          Gets the version parameters.
 
Methods inherited from class iaik.pkcs.pkcs11.provider.keygenerators.PKCS11KeyDerivationSpec
getBaseKey
 
Methods inherited from class iaik.pkcs.pkcs11.provider.keygenerators.PKCS11KeyGenerationSpec
getKeyTemplate
 
Methods inherited from class iaik.pkcs.pkcs11.provider.spec.PKCS11Spec
getPin, getTokenManager, isUseAnonymousRole, isUseROSession, isUseRwSession, isUseSORole, isUseUserRole, isUseUserSession, setPin, setTokenManager, setUseAnonymousRole, setUseSORole, setUseUserRole
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PKCS11SSL3MasterKeyDerivationSpec

public PKCS11SSL3MasterKeyDerivationSpec(TokenManager tokenManager,
                                         boolean useROSession,
                                         boolean useUserSession,
                                         iaik.pkcs.pkcs11.objects.SecretKey baseKey,
                                         byte majorVersion,
                                         byte minorVersion,
                                         byte[] clientRandom,
                                         byte[] serverRandom)
Deprecated. 

Instantiates a new SSL3 master key derive spec.

Parameters:
tokenManager - the token manager
useROSession - the use ro session
useUserSession - the use user session
majorVersion - the major version
minorVersion - the minor version
clientRandom - the client random
serverRandom - the server random

PKCS11SSL3MasterKeyDerivationSpec

public PKCS11SSL3MasterKeyDerivationSpec(iaik.pkcs.pkcs11.objects.SecretKey baseKey,
                                         byte majorVersion,
                                         byte minorVersion,
                                         byte[] clientRandom,
                                         byte[] serverRandom)
Instantiates a new SSL3 master key derive spec.

Parameters:
baseKey - the base key
majorVersion - the major version
minorVersion - the minor version
clientRandom - the client random
serverRandom - the server random
Method Detail

getRandomData

public iaik.pkcs.pkcs11.parameters.SSL3RandomDataParameters getRandomData()
Gets the random data object.

Returns:
the random data

getVersionParameters

public iaik.pkcs.pkcs11.parameters.VersionParameters getVersionParameters()
Gets the version parameters.

Returns:
the version parameters

IAIK PKCS#11 Provider API Documentation
version 1.6

IAIK JavaSecurity Website http://jce.iaik.tugraz.at/

IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2004, IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved.
version 1.6