## Uses of Interface
javax.xml.crypto.dsig.DigestMethod

- Packages that use DigestMethod
  Package | Description
  --- | ---
  javax.xml.crypto.dsig | Classes for generating and validating XML digital signatures.

- - ### Uses of DigestMethod in javax.xml.crypto.dsig

    Methods in javax.xml.crypto.dsig that return DigestMethod
    Modifier and Type | Method and Description
    --- | ---
    `DigestMethod` | Reference.`getDigestMethod()` Returns the digest method of this `Reference`.
    `abstract DigestMethod` | XMLSignatureFactory.`newDigestMethod(String algorithm, DigestMethodParameterSpec params)` Creates a `DigestMethod` for the specified algorithm URI and parameters.

    Methods in javax.xml.crypto.dsig with parameters of type DigestMethod
    Modifier and Type | Method and Description
    --- | ---
    `abstract Reference` | XMLSignatureFactory.`newReference(String uri, DigestMethod dm)` Creates a `Reference` with the specified URI and digest method.
    `abstract Reference` | XMLSignatureFactory.`newReference(String uri, DigestMethod dm, List appliedTransforms, Data result, List transforms, String type, String id)` Creates a `Reference` with the specified parameters.
    `abstract Reference` | XMLSignatureFactory.`newReference(String uri, DigestMethod dm, List transforms, String type, String id)` Creates a `Reference` with the specified parameters.
    `abstract Reference` | XMLSignatureFactory.`newReference(String uri, DigestMethod dm, List transforms, String type, String id, byte[] digestValue)` Creates a `Reference` with the specified parameters and pre-calculated digest value.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.