| Package | Description | 
|---|---|
| javax.xml.crypto.dsig | Classes for generating and validating XML digital
signatures. | 
| 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  DigestMethodfor the specified algorithm URI
 and parameters. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Reference | XMLSignatureFactory. newReference(String uri,
            DigestMethod dm)Creates a  Referencewith 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  Referencewith the specified parameters. | 
| abstract Reference | XMLSignatureFactory. newReference(String uri,
            DigestMethod dm,
            List transforms,
            String type,
            String id)Creates a  Referencewith the specified parameters. | 
| abstract Reference | XMLSignatureFactory. newReference(String uri,
            DigestMethod dm,
            List transforms,
            String type,
            String id,
            byte[] digestValue)Creates a  Referencewith 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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.