public class PKCS11DesCbcKeyDerivationSpec extends PKCS11EcbModeKeyDerivationSpec
baseKey_
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 |
---|
PKCS11DesCbcKeyDerivationSpec(iaik.pkcs.pkcs11.objects.SecretKey baseKey,
byte[] data,
byte[] iv,
iaik.pkcs.pkcs11.objects.SecretKey keyTemplate)
Instantiates a spec.
|
PKCS11DesCbcKeyDerivationSpec(iaik.pkcs.pkcs11.objects.SecretKey baseKey,
byte[] data,
iaik.pkcs.pkcs11.objects.SecretKey keyTemplate)
Instantiates a new spec.
|
PKCS11DesCbcKeyDerivationSpec(TokenManager tokenManager,
iaik.pkcs.pkcs11.objects.SecretKey baseKey,
byte[] data,
byte[] iv,
iaik.pkcs.pkcs11.objects.SecretKey keyTemplate,
boolean useROSession,
boolean useUserSession)
Deprecated.
|
PKCS11DesCbcKeyDerivationSpec(TokenManager tokenManager,
iaik.pkcs.pkcs11.objects.SecretKey baseKey,
byte[] data,
iaik.pkcs.pkcs11.objects.SecretKey keyTemplate,
boolean useROSession,
boolean useUserSession)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getIv()
Gets the iv.
|
getData
getBaseKey
getKeyTemplate
getPin, getRole, getTokenManager, isUseAnonymousRole, isUseROSession, isUseRwSession, isUseSORole, isUseUserRole, isUseUserSession, setPin, setRole, setTokenManager, setUseAnonymousRole, setUseSORole, setUseUserRole
public PKCS11DesCbcKeyDerivationSpec(TokenManager tokenManager, iaik.pkcs.pkcs11.objects.SecretKey baseKey, byte[] data, iaik.pkcs.pkcs11.objects.SecretKey keyTemplate, boolean useROSession, boolean useUserSession)
tokenManager
- the token managerbaseKey
- the base keykeyTemplate
- the key templatedata
- the datauseROSession
- the use ro sessionuseUserSession
- the use user sessionpublic PKCS11DesCbcKeyDerivationSpec(iaik.pkcs.pkcs11.objects.SecretKey baseKey, byte[] data, iaik.pkcs.pkcs11.objects.SecretKey keyTemplate)
baseKey
- the base keykeyTemplate
- the key templatedata
- the datapublic PKCS11DesCbcKeyDerivationSpec(TokenManager tokenManager, iaik.pkcs.pkcs11.objects.SecretKey baseKey, byte[] data, byte[] iv, iaik.pkcs.pkcs11.objects.SecretKey keyTemplate, boolean useROSession, boolean useUserSession)
tokenManager
- the token managerbaseKey
- the base keydata
- the dataiv
- the ivkeyTemplate
- the key templateuseROSession
- the use ro sessionuseUserSession
- the use user sessionpublic PKCS11DesCbcKeyDerivationSpec(iaik.pkcs.pkcs11.objects.SecretKey baseKey, byte[] data, byte[] iv, iaik.pkcs.pkcs11.objects.SecretKey keyTemplate)
baseKey
- the base keydata
- the dataiv
- the ivkeyTemplate
- the key templateIAIK 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