Uses of Interface javax.xml.crypto.dsig.CanonicalizationMethod (Java Platform SE 8 )
Date: 2026-03-29

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

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

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

    Methods in javax.xml.crypto.dsig that return CanonicalizationMethod
    Modifier and Type | Method and Description
    --- | ---
    `CanonicalizationMethod` | SignedInfo.`getCanonicalizationMethod()` Returns the canonicalization method of this `SignedInfo`.
    `abstract CanonicalizationMethod` | XMLSignatureFactory.`newCanonicalizationMethod(String algorithm, C14NMethodParameterSpec params)` Creates a `CanonicalizationMethod` for the specified algorithm URI and parameters.
    `abstract CanonicalizationMethod` | XMLSignatureFactory.`newCanonicalizationMethod(String algorithm, XMLStructure params)` Creates a `CanonicalizationMethod` for the specified algorithm URI and parameters.

    Methods in javax.xml.crypto.dsig with parameters of type CanonicalizationMethod
    Modifier and Type | Method and Description
    --- | ---
    `abstract SignedInfo` | XMLSignatureFactory.`newSignedInfo(CanonicalizationMethod cm, SignatureMethod sm, List references)` Creates a `SignedInfo` with 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 `SignedInfo` 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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.