| Package | Description | 
|---|---|
| javax.xml.crypto.dsig | Classes for generating and validating XML digital
signatures. | 
| Modifier and Type | Method and Description | 
|---|---|
| SignedInfo | XMLSignature. getSignedInfo()Returns the signed info of this  XMLSignature. | 
| abstract SignedInfo | XMLSignatureFactory. newSignedInfo(CanonicalizationMethod cm,
             SignatureMethod sm,
             List references)Creates a  SignedInfowith the specified canonicalization
 and signature methods, and list of one or more references. | 
| abstract SignedInfo | XMLSignatureFactory. newSignedInfo(CanonicalizationMethod cm,
             SignatureMethod sm,
             List references,
             String id)Creates a  SignedInfowith the specified parameters. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract XMLSignature | XMLSignatureFactory. newXMLSignature(SignedInfo si,
               KeyInfo ki)Creates an  XMLSignatureand initializes it with the contents
 of the specifiedSignedInfoandKeyInfoobjects. | 
| abstract XMLSignature | XMLSignatureFactory. newXMLSignature(SignedInfo si,
               KeyInfo ki,
               List objects,
               String id,
               String signatureValueId)Creates an  XMLSignatureand initializes it with the
 specified parameters. | 
 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.