public class PKCS11SSL3MasterKeyDerivationSpec 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 |
---|
PKCS11SSL3MasterKeyDerivationSpec(iaik.pkcs.pkcs11.objects.SecretKey baseKey,
byte majorVersion,
byte minorVersion,
byte[] clientRandom,
byte[] serverRandom)
Instantiates a new SSL3 master key derive spec.
|
PKCS11SSL3MasterKeyDerivationSpec(TokenManager tokenManager,
boolean useROSession,
boolean useUserSession,
iaik.pkcs.pkcs11.objects.SecretKey baseKey,
byte majorVersion,
byte minorVersion,
byte[] clientRandom,
byte[] serverRandom)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
iaik.pkcs.pkcs11.parameters.SSL3RandomDataParameters |
getRandomData()
Gets the random data object.
|
iaik.pkcs.pkcs11.parameters.VersionParameters |
getVersionParameters()
Gets the version parameters.
|
getBaseKey
getKeyTemplate
getPin, getRole, getTokenManager, isUseAnonymousRole, isUseROSession, isUseRwSession, isUseSORole, isUseUserRole, isUseUserSession, setPin, setRole, setTokenManager, setUseAnonymousRole, setUseSORole, setUseUserRole
public PKCS11SSL3MasterKeyDerivationSpec(TokenManager tokenManager, boolean useROSession, boolean useUserSession, iaik.pkcs.pkcs11.objects.SecretKey baseKey, byte majorVersion, byte minorVersion, byte[] clientRandom, byte[] serverRandom)
tokenManager
- the token manageruseROSession
- the use ro sessionuseUserSession
- the use user sessionmajorVersion
- the major versionminorVersion
- the minor versionclientRandom
- the client randomserverRandom
- the server randompublic PKCS11SSL3MasterKeyDerivationSpec(iaik.pkcs.pkcs11.objects.SecretKey baseKey, byte majorVersion, byte minorVersion, byte[] clientRandom, byte[] serverRandom)
baseKey
- the base keymajorVersion
- the major versionminorVersion
- the minor versionclientRandom
- the client randomserverRandom
- the server randompublic iaik.pkcs.pkcs11.parameters.SSL3RandomDataParameters getRandomData()
public iaik.pkcs.pkcs11.parameters.VersionParameters getVersionParameters()
IAIK 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