# 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
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, String 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, Provider provider)`
Returns an `XMLSignatureFactory` that supports the requested XML processing mechanism and representation type (ex: "DOM"), as supplied by the specified provider.