Class XMLCipher.Factory.AgreementMethodImpl
java.lang.Object
org.apache.xml.security.encryption.XMLCipher.Factory.AgreementMethodImpl
- All Implemented Interfaces:
AgreementMethod
- Enclosing class:
XMLCipher.Factory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds additionalAgreementMethodinformation.Returns additional information regarding theAgreementMethod.Returns the algorithm URI of thisCryptographicMethod.byte[]Returns abytearray.Returns information relating to the originator's shared secret.Returns information relating to the recipient's shared secret.voidRemoves additionalAgreementMethodinformation.voidsetKANonce(byte[] kanonce) Sets the KANonce.jjvoidsetOriginatorKeyInfo(KeyInfo keyInfo) Sets the information relating to the originator's shared secret.voidsetRecipientKeyInfo(KeyInfo keyInfo) Sets the information relating to the recipient's shared secret.
-
Field Details
-
kaNonce
private byte[] kaNonce -
agreementMethodInformation
-
originatorKeyInfo
-
recipientKeyInfo
-
algorithmURI
-
-
Constructor Details
-
AgreementMethodImpl
- Parameters:
algorithm-
-
-
Method Details
-
getKANonce
public byte[] getKANonce()Returns abytearray.- Specified by:
getKANoncein interfaceAgreementMethod- Returns:
- a
bytearray.
-
setKANonce
public void setKANonce(byte[] kanonce) Sets the KANonce.jj- Specified by:
setKANoncein interfaceAgreementMethod- Parameters:
kanonce-
-
getAgreementMethodInformation
Returns additional information regarding theAgreementMethod.- Specified by:
getAgreementMethodInformationin interfaceAgreementMethod- Returns:
- additional information regarding the
AgreementMethod.
-
addAgreementMethodInformation
Adds additionalAgreementMethodinformation.- Specified by:
addAgreementMethodInformationin interfaceAgreementMethod- Parameters:
info- aElementthat represents additional information specified by
-
revoveAgreementMethodInformation
Removes additionalAgreementMethodinformation.- Specified by:
revoveAgreementMethodInformationin interfaceAgreementMethod- Parameters:
info- aElementthat represents additional information specified by
-
getOriginatorKeyInfo
Returns information relating to the originator's shared secret.- Specified by:
getOriginatorKeyInfoin interfaceAgreementMethod- Returns:
- information relating to the originator's shared secret.
-
setOriginatorKeyInfo
Sets the information relating to the originator's shared secret.- Specified by:
setOriginatorKeyInfoin interfaceAgreementMethod- Parameters:
keyInfo- information relating to the originator's shared secret.
-
getRecipientKeyInfo
Returns information relating to the recipient's shared secret.- Specified by:
getRecipientKeyInfoin interfaceAgreementMethod- Returns:
- information relating to the recipient's shared secret.
-
setRecipientKeyInfo
Sets the information relating to the recipient's shared secret.- Specified by:
setRecipientKeyInfoin interfaceAgreementMethod- Parameters:
keyInfo- information relating to the recipient's shared secret.
-
getAlgorithm
Returns the algorithm URI of thisCryptographicMethod.- Specified by:
getAlgorithmin interfaceAgreementMethod- Returns:
- the algorithm URI of this
CryptographicMethod
-