IAIK PKCS#11 Provider API Documentation
version 1.6

iaik.pkcs.pkcs11.provider.keyagreements
Class PKCS11X942DhKeyAgreementParameterSpec

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
              extended by iaik.pkcs.pkcs11.provider.keyagreements.PKCS11X942DhKeyAgreementParameterSpec
All Implemented Interfaces:
java.security.spec.AlgorithmParameterSpec, java.security.spec.KeySpec
Direct Known Subclasses:
PKCS11X942Dh2KeyAgreementParameterSpec

public class PKCS11X942DhKeyAgreementParameterSpec
extends PKCS11KeyAgreementSpecWithKDF

The Class PKCS11X942DhKeyAgreementParameterSpec.


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
PKCS11X942DhKeyAgreementParameterSpec(iaik.pkcs.pkcs11.objects.Key keyTemplate)
          Instantiates a new AlgorithmParameterSpec.
PKCS11X942DhKeyAgreementParameterSpec(iaik.pkcs.pkcs11.objects.Key keyTemplate, long keyDerivationFunctionType, byte[] otherInfo)
          Instantiates a new AlgorithmParameterSpec.
PKCS11X942DhKeyAgreementParameterSpec(TokenManager tokenManager, iaik.pkcs.pkcs11.objects.Key keyTemplate, boolean useROSession, boolean useUserSession)
          Deprecated.  
PKCS11X942DhKeyAgreementParameterSpec(TokenManager tokenManager, iaik.pkcs.pkcs11.objects.Key keyTemplate, boolean useROSession, boolean useUserSession, long keyDerivationFunctionType, byte[] otherInfo)
          Deprecated.  
 
Method Summary
 byte[] getOtherInfo()
          Gets the otherInfo data.
 void setOtherInfo(byte[] otherInfo)
          Sets the otherInfo data.
 
Methods inherited from class iaik.pkcs.pkcs11.provider.keyagreements.PKCS11KeyAgreementSpecWithKDF
getKeyDerivationFunctionType, setKeyDerivationFunctionType
 
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

PKCS11X942DhKeyAgreementParameterSpec

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

Instantiates a new AlgorithmParameterSpec.

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

PKCS11X942DhKeyAgreementParameterSpec

public PKCS11X942DhKeyAgreementParameterSpec(iaik.pkcs.pkcs11.objects.Key keyTemplate)
Instantiates a new AlgorithmParameterSpec.

Parameters:
keyTemplate - the key template

PKCS11X942DhKeyAgreementParameterSpec

public PKCS11X942DhKeyAgreementParameterSpec(TokenManager tokenManager,
                                             iaik.pkcs.pkcs11.objects.Key keyTemplate,
                                             boolean useROSession,
                                             boolean useUserSession,
                                             long keyDerivationFunctionType,
                                             byte[] otherInfo)
Deprecated. 

Instantiates a new AlgorithmParameterSpec.

Parameters:
tokenManager - the token manager
keyTemplate - the key template
useROSession - use ro session
useUserSession - use user session
keyDerivationFunctionType - the key derivation function type
otherInfo - the shared data

PKCS11X942DhKeyAgreementParameterSpec

public PKCS11X942DhKeyAgreementParameterSpec(iaik.pkcs.pkcs11.objects.Key keyTemplate,
                                             long keyDerivationFunctionType,
                                             byte[] otherInfo)
Instantiates a new AlgorithmParameterSpec.

Parameters:
keyTemplate - the key template
keyDerivationFunctionType - the key derivation function type
otherInfo - the shared data
Method Detail

getOtherInfo

public byte[] getOtherInfo()
Gets the otherInfo data.

Returns:
the otherInfo data

setOtherInfo

public void setOtherInfo(byte[] otherInfo)
Sets the otherInfo data.

Parameters:
otherInfo - the new otherInfo data

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