public class PKCS11X942DhMQVKeyAgreementParameterSpec extends PKCS11X942Dh2KeyAgreementParameterSpec
X942DhKeyAgreement
engine.otherInfo_
keyDerivationFunctionType_
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 |
---|
PKCS11X942DhMQVKeyAgreementParameterSpec(iaik.pkcs.pkcs11.objects.Key keyTemplate,
long keyDerivationFunctionType,
byte[] otherInfo,
IAIKPKCS11DhPublicKey publicData,
IAIKPKCS11DhPublicKey publicData2,
IAIKPKCS11DhPrivateKey privateData,
java.security.PublicKey publicKey)
Instantiates a parameter spec.
|
PKCS11X942DhMQVKeyAgreementParameterSpec(iaik.pkcs.pkcs11.objects.Key keyTemplate,
java.security.PublicKey publicData,
java.security.PublicKey publicData2,
java.security.PrivateKey privateData,
java.security.PublicKey publicKey)
Instantiates a parameter spec.
|
PKCS11X942DhMQVKeyAgreementParameterSpec(TokenManager tokenManager,
iaik.pkcs.pkcs11.objects.Key keyTemplate,
boolean useROSession,
boolean useUserSession,
long keyDerivationFunctionType,
byte[] otherInfo,
IAIKPKCS11DhPublicKey publicData,
IAIKPKCS11DhPublicKey publicData2,
IAIKPKCS11DhPrivateKey privateData,
java.security.PublicKey publicKey)
Deprecated.
|
PKCS11X942DhMQVKeyAgreementParameterSpec(TokenManager tokenManager,
iaik.pkcs.pkcs11.objects.Key keyTemplate,
boolean useROSession,
boolean useUserSession,
java.security.PublicKey publicData,
java.security.PublicKey publicData2,
java.security.PrivateKey privateData,
java.security.PublicKey publicKey)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
iaik.pkcs.pkcs11.objects.Object |
getPublicKey()
Gets the local ephemeral public key.
|
getPrivateData, getPrivateDataLen, getPublicData, getPublicData2
getOtherInfo, setOtherInfo
getKeyDerivationFunctionType, setKeyDerivationFunctionType
getKeyTemplate
getPin, getRole, getTokenManager, isUseAnonymousRole, isUseROSession, isUseRwSession, isUseSORole, isUseUserRole, isUseUserSession, setPin, setRole, setTokenManager, setUseAnonymousRole, setUseSORole, setUseUserRole
public PKCS11X942DhMQVKeyAgreementParameterSpec(TokenManager tokenManager, iaik.pkcs.pkcs11.objects.Key keyTemplate, boolean useROSession, boolean useUserSession, java.security.PublicKey publicData, java.security.PublicKey publicData2, java.security.PrivateKey privateData, java.security.PublicKey publicKey) throws java.security.InvalidKeyException
tokenManager
- the token managerkeyTemplate
- the key templateuseROSession
- use ro sessionuseUserSession
- use user sessionpublicData
- the remote static public key.publicData2
- the remote ephemeral public key.privateData
- the local ephemeral private key.java.security.InvalidKeyException
- in case a wrong key is supplied.public PKCS11X942DhMQVKeyAgreementParameterSpec(iaik.pkcs.pkcs11.objects.Key keyTemplate, java.security.PublicKey publicData, java.security.PublicKey publicData2, java.security.PrivateKey privateData, java.security.PublicKey publicKey) throws java.security.InvalidKeyException
keyTemplate
- the key templatepublicData
- the remote static public key.publicData2
- the remote ephemeral public key.privateData
- the local ephemeral private key.java.security.InvalidKeyException
- in case a wrong key is supplied.public PKCS11X942DhMQVKeyAgreementParameterSpec(TokenManager tokenManager, iaik.pkcs.pkcs11.objects.Key keyTemplate, boolean useROSession, boolean useUserSession, long keyDerivationFunctionType, byte[] otherInfo, IAIKPKCS11DhPublicKey publicData, IAIKPKCS11DhPublicKey publicData2, IAIKPKCS11DhPrivateKey privateData, java.security.PublicKey publicKey) throws java.security.InvalidKeyException
tokenManager
- the token managerkeyTemplate
- the key templateuseROSession
- use ro sessionuseUserSession
- use user sessionkeyDerivationFunctionType
- the key derivation function typeotherInfo
- the other infopublicData
- the remote static public key.publicData2
- the remote ephemeral public key.privateData
- the local ephemeral private key.java.security.InvalidKeyException
- in case a wrong key is supplied.public PKCS11X942DhMQVKeyAgreementParameterSpec(iaik.pkcs.pkcs11.objects.Key keyTemplate, long keyDerivationFunctionType, byte[] otherInfo, IAIKPKCS11DhPublicKey publicData, IAIKPKCS11DhPublicKey publicData2, IAIKPKCS11DhPrivateKey privateData, java.security.PublicKey publicKey) throws java.security.InvalidKeyException
keyTemplate
- the key templatekeyDerivationFunctionType
- the key derivation function typeotherInfo
- the other infopublicData
- the remote static public key.publicData2
- the remote ephemeral public key.privateData
- the local ephemeral private key.java.security.InvalidKeyException
- in case a wrong key is supplied.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