public abstract class PKCS11KeyAgreementSpecWithKDF extends PKCS11KeyAgreementSpec
Modifier and Type | Field and Description |
---|---|
protected long |
keyDerivationFunctionType_
The key derivation function_.
|
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 |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
long |
getKeyDerivationFunctionType()
Gets the key derivation function.
|
void |
setKeyDerivationFunctionType(long keyDerivationFunction)
Sets the key derivation function.
|
getKeyTemplate
getPin, getRole, getTokenManager, isUseAnonymousRole, isUseROSession, isUseRwSession, isUseSORole, isUseUserRole, isUseUserSession, setPin, setRole, setTokenManager, setUseAnonymousRole, setUseSORole, setUseUserRole
protected long keyDerivationFunctionType_
public PKCS11KeyAgreementSpecWithKDF(TokenManager tokenManager, iaik.pkcs.pkcs11.objects.Key keyTemplate, boolean useROSession, boolean useUserSession)
tokenManager
- the token managerkeyTemplate
- the key templateuseROSession
- the use ro sessionuseUserSession
- the use user sessionpublic PKCS11KeyAgreementSpecWithKDF(iaik.pkcs.pkcs11.objects.Key keyTemplate)
setKeyDerivationFunctionType(long)
for KDF specification.keyTemplate
- the key templatepublic long getKeyDerivationFunctionType()
public void setKeyDerivationFunctionType(long keyDerivationFunction)
keyDerivationFunction
- the new key derivation functionIAIK 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