IAIK PKCS#11 Provider API Documentation
version 1.6

iaik.pkcs.pkcs11.provider.keyagreements
Class PKCS11KeyAgreementSpecWithKDF

java.lang.Object
  extended by iaik.pkcs.pkcs11.provider.spec.PKCS11Spec
      extended by iaik.pkcs.pkcs11.provider.keyagreements.PKCS11KeyAgreementSpec
          extended by iaik.pkcs.pkcs11.provider.keyagreements.PKCS11KeyAgreementSpecWithKDF
All Implemented Interfaces:
java.security.spec.AlgorithmParameterSpec, java.security.spec.KeySpec
Direct Known Subclasses:
PKCS11EcDHKeyAgreementParameterSpec, PKCS11X942DhKeyAgreementParameterSpec

public abstract class PKCS11KeyAgreementSpecWithKDF
extends PKCS11KeyAgreementSpec


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
PKCS11KeyAgreementSpecWithKDF(iaik.pkcs.pkcs11.objects.Key keyTemplate)
          Instantiates a new PKCS11 key agreement spec with kdf.
PKCS11KeyAgreementSpecWithKDF(TokenManager tokenManager, iaik.pkcs.pkcs11.objects.Key keyTemplate, boolean useROSession, boolean useUserSession)
          Deprecated.  
 
Method Summary
 long getKeyDerivationFunctionType()
          Gets the key derivation function.
 void setKeyDerivationFunctionType(long keyDerivationFunction)
          Sets the key derivation function.
 
Methods inherited from class iaik.pkcs.pkcs11.provider.keyagreements.PKCS11KeyAgreementSpec
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

PKCS11KeyAgreementSpecWithKDF

public PKCS11KeyAgreementSpecWithKDF(TokenManager tokenManager,
                                     iaik.pkcs.pkcs11.objects.Key keyTemplate,
                                     boolean useROSession,
                                     boolean useUserSession)
Deprecated. 

Instantiates a new pKC s11 key agreement spec with kdf.

Parameters:
tokenManager - the token manager
keyTemplate - the key template
useROSession - the use ro session
useUserSession - the use user session

PKCS11KeyAgreementSpecWithKDF

public PKCS11KeyAgreementSpecWithKDF(iaik.pkcs.pkcs11.objects.Key keyTemplate)
Instantiates a new PKCS11 key agreement spec with kdf. Use setKeyDerivationFunctionType(long) for KDF specification.

Parameters:
keyTemplate - the key template
Method Detail

getKeyDerivationFunctionType

public long getKeyDerivationFunctionType()
Gets the key derivation function.

Returns:
the key derivation function

setKeyDerivationFunctionType

public void setKeyDerivationFunctionType(long keyDerivationFunction)
Sets the key derivation function.

Parameters:
keyDerivationFunction - the new key derivation function

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