Uses of Class javax.xml.crypto.dsig.XMLSignatureFactory (Java Platform SE 8 )
Date: 2026-04-22

## Uses of Class
javax.xml.crypto.dsig.XMLSignatureFactory

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

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

    Methods in javax.xml.crypto.dsig that return XMLSignatureFactory
    Modifier and Type | Method and Description
    --- | ---
    `static XMLSignatureFactory` | XMLSignatureFactory.`getInstance()` Returns an `XMLSignatureFactory` that supports the default XML processing mechanism and representation type ("DOM").
    `static XMLSignatureFactory` | XMLSignatureFactory.`getInstance(String mechanismType)` Returns an `XMLSignatureFactory` that supports the specified XML processing mechanism and representation type (ex: "DOM").
    `static XMLSignatureFactory` | XMLSignatureFactory.`getInstance(String mechanismType, Provider provider)` Returns an `XMLSignatureFactory` that supports the requested XML processing mechanism and representation type (ex: "DOM"), as supplied by the specified provider.
    `static XMLSignatureFactory` | XMLSignatureFactory.`getInstance(String mechanismType, String provider)` Returns an `XMLSignatureFactory` that supports the requested XML processing mechanism and representation type (ex: "DOM"), as supplied by the specified provider.

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.