public class PKCS11X942DhKeyAgreementParameterSpec extends PKCS11KeyAgreementSpecWithKDF
Modifier and Type | Field and Description |
---|---|
protected byte[] |
otherInfo_
The shared data.
|
keyDerivationFunctionType_
keyTemplate_
tokenManager_, USE_PUBLIC_ROLE, USE_PUBLIC_SESSION, USE_READ_ONLY_SESSION, USE_READ_WRITE_SESSION, USE_SO_ROLE, USE_USER_ROLE, USE_USER_SESSION, usePin_, useRole_, useROSession_
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getOtherInfo()
Gets the otherInfo data.
|
void |
setOtherInfo(byte[] otherInfo)
Sets the otherInfo data.
|
getKeyDerivationFunctionType, setKeyDerivationFunctionType
getKeyTemplate
getPin, getRole, getTokenManager, isUseAnonymousRole, isUseROSession, isUseRwSession, isUseSORole, isUseUserRole, isUseUserSession, setPin, setRole, setTokenManager, setUseAnonymousRole, setUseSORole, setUseUserRole
public PKCS11X942DhKeyAgreementParameterSpec(TokenManager tokenManager, iaik.pkcs.pkcs11.objects.Key keyTemplate, boolean useROSession, boolean useUserSession)
tokenManager
- the token managerkeyTemplate
- the key templateuseROSession
- use ro sessionuseUserSession
- use user sessionpublic PKCS11X942DhKeyAgreementParameterSpec(iaik.pkcs.pkcs11.objects.Key keyTemplate)
keyTemplate
- the key templatepublic PKCS11X942DhKeyAgreementParameterSpec(TokenManager tokenManager, iaik.pkcs.pkcs11.objects.Key keyTemplate, boolean useROSession, boolean useUserSession, long keyDerivationFunctionType, byte[] otherInfo)
tokenManager
- the token managerkeyTemplate
- the key templateuseROSession
- use ro sessionuseUserSession
- use user sessionkeyDerivationFunctionType
- the key derivation function typeotherInfo
- the shared datapublic PKCS11X942DhKeyAgreementParameterSpec(iaik.pkcs.pkcs11.objects.Key keyTemplate, long keyDerivationFunctionType, byte[] otherInfo)
keyTemplate
- the key templatekeyDerivationFunctionType
- the key derivation function typeotherInfo
- the shared dataIAIK JavaSecurity Website https://jce.iaik.tugraz.at/
IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2023 IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved. Version 1.9.4