public class PKCS11UnwrapKeySpec extends PKCS11Spec implements java.security.spec.AlgorithmParameterSpec
Modifier and Type | Field and Description |
---|---|
protected iaik.pkcs.pkcs11.objects.Key |
keyTemplate_
The template for the new key.
|
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 |
---|
PKCS11UnwrapKeySpec(iaik.pkcs.pkcs11.objects.Key keyTemplate)
Constructor taking several parameters that control where and how the key should be generated.
|
PKCS11UnwrapKeySpec(iaik.pkcs.pkcs11.objects.Key keyTemplate,
javax.crypto.spec.IvParameterSpec iv)
Constructor taking several parameters that control where and how the key should be generated.
|
Modifier and Type | Method and Description |
---|---|
javax.crypto.spec.IvParameterSpec |
getIV()
Gets the iV.
|
iaik.pkcs.pkcs11.objects.Key |
getKeyTemplate()
Get the template for the new key.
|
getPin, getRole, getTokenManager, isUseAnonymousRole, isUseROSession, isUseRwSession, isUseSORole, isUseUserRole, isUseUserSession, setPin, setRole, setTokenManager, setUseAnonymousRole, setUseSORole, setUseUserRole
protected iaik.pkcs.pkcs11.objects.Key keyTemplate_
public PKCS11UnwrapKeySpec(iaik.pkcs.pkcs11.objects.Key keyTemplate)
keyTemplate
- The template for the new key.public PKCS11UnwrapKeySpec(iaik.pkcs.pkcs11.objects.Key keyTemplate, javax.crypto.spec.IvParameterSpec iv)
keyTemplate
- The template for the new key.iv
- the ivIAIK 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