Module org.apache.santuario.xmlsec
Class KeyAgreementParameters
java.lang.Object
org.apache.xml.security.encryption.params.KeyAgreementParameters
- All Implemented Interfaces:
AlgorithmParameterSpec
This class is used to pass parameters to the KeyAgreement algorithm.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThis enum defines the actor type of the KeyAgreement algorithm. -
Constructor Summary
ConstructorsConstructorDescriptionKeyAgreementParameters(KeyAgreementParameters.ActorType actorType, String keyAgreementAlgorithm, KeyDerivationParameters keyDerivationParameter) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetOriginatorKeyPair(KeyPair originatorKeyPair) voidsetOriginatorPrivateKey(PrivateKey originatorPrivateKey) voidsetOriginatorPublicKey(PublicKey originatorPublicKey) voidsetRecipientPrivateKey(PrivateKey recipientPrivateKey) voidsetRecipientPublicKey(PublicKey recipientPublicKey)
-
Constructor Details
-
KeyAgreementParameters
public KeyAgreementParameters(KeyAgreementParameters.ActorType actorType, String keyAgreementAlgorithm, KeyDerivationParameters keyDerivationParameter)
-
-
Method Details
-
getKeyDerivationParameter
-
getKeyAgreementAlgorithm
-
setOriginatorKeyPair
-
getOriginatorPublicKey
-
setOriginatorPublicKey
-
getOriginatorPrivateKey
-
setOriginatorPrivateKey
-
getRecipientPublicKey
-
setRecipientPublicKey
-
getRecipientPrivateKey
-
setRecipientPrivateKey
-
getActorType
-
getAgreementPublicKey
-
getAgreementPrivateKey
-