javax.xml.crypto.enc.spec

Class DHAgreementMethodParameterSpec

  1. java.lang.Object
  2. extended byjavax.xml.crypto.enc.spec.DHAgreementMethodParameterSpec
All implemented interfaces:
java.security.spec.AlgorithmParameterSpec, AgreementMethodParameterSpec

  1. public class DHAgreementMethodParameterSpec
  2. extends java.lang.Object
  3. implements AgreementMethodParameterSpec
Algorithm parameters for XML Diffie-Hellman key agreement algorithm.

Constructor Summary

Constructor and Description
DHAgreementMethodParameterSpec(DigestMethod digestMethod)
Creates an DHAgreementMethodParameterSpec with the specified digest method.

Method Summary

Modifier and Type Method and Description
  1. DigestMethod
getDigestMethod()
Returns the digest method.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

DHAgreementMethodParameterSpec

  1. 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

  1. public DigestMethod getDigestMethod( )
Returns the digest method.
Returns:
the digest method