Class PrivateCredential
java.lang.Object
org.opensaml.xmlsec.agreement.impl.PrivateCredential
- All Implemented Interfaces:
KeyAgreementParameter
Key agreement parameter used to pass a Credential holding a required private key.
This is typically used in the decryption case to pass in the recipient's private credential.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
credential
The wrapped Credential.
-
-
Constructor Details
-
PrivateCredential
Constructor.- Parameters:
newCredential- the private credential, containing aPrivateKey
-
-
Method Details
-
getCredential
Get the wrapped credential.- Returns:
- the credential
-