javax.xml.crypto.enc.spec
Class DHAgreementMethodParameterSpec
- java.lang.Object
-
- javax.xml.crypto.enc.spec.DHAgreementMethodParameterSpec
-
- All Implemented Interfaces:
- java.security.spec.AlgorithmParameterSpec, AgreementMethodParameterSpec
public class DHAgreementMethodParameterSpec extends java.lang.Object implements AgreementMethodParameterSpec
Algorithm parameters for XML Diffie-Hellman key agreement algorithm.
-
-
Field Summary
Fields Modifier and Type Field and Description private DigestMethoddigestMethod
-
Constructor Summary
Constructors Constructor and Description DHAgreementMethodParameterSpec(DigestMethod digestMethod)Creates an DHAgreementMethodParameterSpec with the specified digest method.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description DigestMethodgetDigestMethod()Returns the digest method.
-
-
-
Field Detail
-
digestMethod
private DigestMethod digestMethod
-
-
Constructor Detail
-
DHAgreementMethodParameterSpec
public DHAgreementMethodParameterSpec(DigestMethod digestMethod)
Creates an DHAgreementMethodParameterSpec with the specified digest method.- Parameters:
digestMethod- the digest method- Throws:
java.lang.NullPointerException- if the digest method is null
-
-
Method Detail
-
getDigestMethod
public DigestMethod getDigestMethod()
Returns the digest method.- Returns:
- the digest method
-
-