public class PKCS11SSL3KeyAndMacDerivationParameterSpec extends PKCS11KeyDerivationSpec
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 |
---|
PKCS11SSL3KeyAndMacDerivationParameterSpec(iaik.pkcs.pkcs11.objects.SecretKey baseKey,
int macSize,
int keySize,
boolean isExport,
byte[] serverRandom,
byte[] clientRandom)
Instantiates a derivation parameter spec.
|
PKCS11SSL3KeyAndMacDerivationParameterSpec(iaik.pkcs.pkcs11.objects.SecretKey baseKey,
int macSize,
int keySize,
int ivSize,
boolean isExport,
byte[] serverRandom,
byte[] clientRandom)
Instantiates a new derivation parameter spec.
|
PKCS11SSL3KeyAndMacDerivationParameterSpec(TokenManager tokenManager,
boolean useROSession,
boolean useUserSession,
iaik.pkcs.pkcs11.objects.SecretKey baseKey,
int macSize,
int keySize,
boolean isExport,
byte[] serverRandom,
byte[] clientRandom)
Deprecated.
|
PKCS11SSL3KeyAndMacDerivationParameterSpec(TokenManager tokenManager,
boolean useROSession,
boolean useUserSession,
iaik.pkcs.pkcs11.objects.SecretKey baseKey,
int macSize,
int keySize,
int ivSize,
boolean isExport,
byte[] serverRandom,
byte[] clientRandom)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
iaik.pkcs.pkcs11.parameters.Parameters |
getParameters()
Gets the parameters.
|
getBaseKey
getKeyTemplate
getPin, getRole, getTokenManager, isUseAnonymousRole, isUseROSession, isUseRwSession, isUseSORole, isUseUserRole, isUseUserSession, setPin, setRole, setTokenManager, setUseAnonymousRole, setUseSORole, setUseUserRole
public PKCS11SSL3KeyAndMacDerivationParameterSpec(TokenManager tokenManager, boolean useROSession, boolean useUserSession, iaik.pkcs.pkcs11.objects.SecretKey baseKey, int macSize, int keySize, boolean isExport, byte[] serverRandom, byte[] clientRandom)
tokenManager
- the token manageruseROSession
- the use ro sessionuseUserSession
- the use user sessionbaseKey
- the base keymacSize
- the mac sizekeySize
- the key sizeisExport
- the is exportserverRandom
- the server randomclientRandom
- the client randompublic PKCS11SSL3KeyAndMacDerivationParameterSpec(iaik.pkcs.pkcs11.objects.SecretKey baseKey, int macSize, int keySize, boolean isExport, byte[] serverRandom, byte[] clientRandom)
baseKey
- the base keymacSize
- the mac sizekeySize
- the key sizeisExport
- the is exportserverRandom
- the server randomclientRandom
- the client randompublic PKCS11SSL3KeyAndMacDerivationParameterSpec(TokenManager tokenManager, boolean useROSession, boolean useUserSession, iaik.pkcs.pkcs11.objects.SecretKey baseKey, int macSize, int keySize, int ivSize, boolean isExport, byte[] serverRandom, byte[] clientRandom)
tokenManager
- the token manageruseROSession
- the use ro sessionuseUserSession
- the use user sessionbaseKey
- the base keymacSize
- the mac sizekeySize
- the key sizeivSize
- the iv sizeisExport
- the is exportserverRandom
- the server randomclientRandom
- the client randompublic PKCS11SSL3KeyAndMacDerivationParameterSpec(iaik.pkcs.pkcs11.objects.SecretKey baseKey, int macSize, int keySize, int ivSize, boolean isExport, byte[] serverRandom, byte[] clientRandom)
baseKey
- the base keymacSize
- the mac sizekeySize
- the key sizeivSize
- the iv sizeisExport
- the is exportserverRandom
- the server randomclientRandom
- the client randomIAIK 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