public class PKCS11SSL3PreMasterKeyGenerationSpec extends PKCS11KeyGenerationSpec
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 |
|---|
PKCS11SSL3PreMasterKeyGenerationSpec(byte majorVersion,
byte minorVersion)
Constructor taking several parameters that control where and how the key should be generated.
|
PKCS11SSL3PreMasterKeyGenerationSpec(iaik.pkcs.pkcs11.objects.SecretKey keyTemplate,
byte majorVersion,
byte minorVersion)
Constructor taking several parameters that control where and how the key should be generated.
|
PKCS11SSL3PreMasterKeyGenerationSpec(TokenManager tokenManager,
boolean useROSession,
boolean useUserSession,
byte majorVersion,
byte minorVersion)
Deprecated.
|
PKCS11SSL3PreMasterKeyGenerationSpec(TokenManager tokenManager,
boolean useROSession,
boolean useUserSession,
iaik.pkcs.pkcs11.objects.SecretKey keyTemplate,
byte majorVersion,
byte minorVersion)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
iaik.pkcs.pkcs11.parameters.VersionParameters |
getVersionParameter()
Gets the version parameter.
|
getKeyTemplategetPin, getRole, getTokenManager, isUseAnonymousRole, isUseROSession, isUseRwSession, isUseSORole, isUseUserRole, isUseUserSession, setPin, setRole, setTokenManager, setUseAnonymousRole, setUseSORole, setUseUserRolepublic PKCS11SSL3PreMasterKeyGenerationSpec(TokenManager tokenManager, boolean useROSession, boolean useUserSession, byte majorVersion, byte minorVersion)
tokenManager - The manager to handle the token.useROSession - true (USE_READ_ONLY_SESSION), if the key should be generated
using a read-only session. This is only possible for session-objects.
false ( USE_READ_WRITE_SESSION) to use a read-write session.useUserSession - true (USE_USER_SESSION), if the key should be generated
using a user session. This is required for private objects (key); i.e. keys that have
their private flag set. false (USE_PUBLIC_SESSION) to use a
public session. This will only work for public objects.majorVersion - the major version of the used SSL3 protocolminorVersion - the minor version of the used SSL3 protocolpublic PKCS11SSL3PreMasterKeyGenerationSpec(byte majorVersion,
byte minorVersion)
majorVersion - the major version of the used SSL3 protocolminorVersion - the minor version of the used SSL3 protocolpublic PKCS11SSL3PreMasterKeyGenerationSpec(TokenManager tokenManager, boolean useROSession, boolean useUserSession, iaik.pkcs.pkcs11.objects.SecretKey keyTemplate, byte majorVersion, byte minorVersion)
tokenManager - The manager to handle the token.useROSession - true (USE_READ_ONLY_SESSION), if the key should be generated
using a read-only session. This is only possible for session-objects.
false ( USE_READ_WRITE_SESSION) to use a read-write session.useUserSession - true (USE_USER_SESSION), if the key should be generated
using a user session. This is required for private objects (key); i.e. keys that have
their private flag set. false (USE_PUBLIC_SESSION) to use a
public session. This will only work for public objects.keyTemplate - The template for the new key.majorVersion - the major version of the used SSL3 protocolminorVersion - the minor version of the used SSL3 protocolpublic PKCS11SSL3PreMasterKeyGenerationSpec(iaik.pkcs.pkcs11.objects.SecretKey keyTemplate,
byte majorVersion,
byte minorVersion)
keyTemplate - The template for the new key.majorVersion - the major version of the used SSL3 protocolminorVersion - the minor version of the used SSL3 protocolIAIK 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