Package org.opensaml.xmlsec.agreement
Interface KeyAgreementCredential
-
- All Superinterfaces:
Credential
public interface KeyAgreementCredential extends Credential
An entity credential which represents the result of a key agreement operation.This will typically contain a secret key only, and no public or private key. The information available via this type's interface describes how the secret key was produced.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAlgorithm()The key agreement algorithm URI used.CredentialgetOriginatorCredential()The credential holding the originator key material.KeyAgreementParametersgetParameters()The parameters to the key agreement operation.CredentialgetRecipientCredential()The credential holding the recipient key material.-
Methods inherited from interface org.opensaml.security.credential.Credential
getCredentialContextSet, getCredentialType, getEntityId, getKeyNames, getPrivateKey, getPublicKey, getSecretKey, getUsageType
-
-
-
-
Method Detail
-
getAlgorithm
@Nonnull String getAlgorithm()
The key agreement algorithm URI used.- Returns:
- the algorithm
-
getOriginatorCredential
@Nonnull Credential getOriginatorCredential()
The credential holding the originator key material.- Returns:
- the originator credential
-
getRecipientCredential
@Nonnull Credential getRecipientCredential()
The credential holding the recipient key material.- Returns:
- the recipient credential
-
getParameters
@Nonnull KeyAgreementParameters getParameters()
The parameters to the key agreement operation.- Returns:
- the parameters
-
-