public class IAIKPKCS11EC16PrivateKey extends IAIKPKCS11ECPrivateKey implements java.security.interfaces.ECPrivateKey
keyFactory_
AES, alias_, autoDestroy_, BATON, BLOWFISH, CAST, CAST128, CAST3, CAST5, CDMF, DES, DES2, DESede, destroyed_, DH, DSA, ECDSA, GENERIC_SECRET, IDEA, JUNIPER, KEA, KEY_TYPE_NAME_PROPERTIES, keyObject_, keyTypeCodes_, keyTypeNames_, RC2, RC4, RC5, RSA, session_, SKIPJACK, tokenManager_, TWOFISH, VENDOR_DEFINED
Constructor and Description |
---|
IAIKPKCS11EC16PrivateKey(TokenManager tokenManager,
iaik.pkcs.pkcs11.objects.PrivateKey privateKeyObject)
Construct a private key object that is associated with the given private key object on the
given token.
|
Modifier and Type | Method and Description |
---|---|
static IAIKPKCS11ECPrivateKey |
create(TokenManager tokenManager,
iaik.pkcs.pkcs11.objects.ECDSAPrivateKey privateKeyObject)
Create a new instance of a IAIKPKCS11EC16PrivateKey which's token managed by the given token
manager and is based on the given PKCS#11 key object.
|
java.security.spec.ECParameterSpec |
getParams()
Get the ECDSA parameters of this key.
|
java.math.BigInteger |
getS()
Get the private value of this key.
|
getAlgorithm, getKeyFactory
create, getEncoded, getFormat
create, destroy, finalize, getAlgorithmCode, getAlgorithmName, getAlias, getKeyID, getKeyObject, getSession, getTokenManager, isAutoDestroy, isDestroyed, jdk16AndEccelerate, setAutoDestroy, setSession, toString
public IAIKPKCS11EC16PrivateKey(TokenManager tokenManager, iaik.pkcs.pkcs11.objects.PrivateKey privateKeyObject)
tokenManager
- The token manager of the token where this key resides.privateKeyObject
- The PKCS#11 key object.public static IAIKPKCS11ECPrivateKey create(TokenManager tokenManager, iaik.pkcs.pkcs11.objects.ECDSAPrivateKey privateKeyObject)
tokenManager
- The token manager of the token where the key is.privateKeyObject
- The PKCS#11 key object.public java.math.BigInteger getS()
getS
in interface java.security.interfaces.ECPrivateKey
public java.security.spec.ECParameterSpec getParams()
getParams
in interface java.security.interfaces.ECKey
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