public class CanonicalizationMethodImpl extends TransformImpl implements CanonicalizationMethod
CanonicalizationMethod that supports
the DOM XML marshaling representation and processing mechanism.DOMStructure.NodeWrapper| Modifier and Type | Field and Description |
|---|---|
static String |
C14n11_INCLUSIVE
The Canonical XML 1.1
(without comments) canonicalization method algorithm URI.
|
static String |
C14n11_INCLUSIVE_WITH_COMMENTS
The
Canonical XML 1.1 with comments canonicalization method algorithm URI.
|
algorithm_, params_, service_implMap_, state_, STATE_CREATED, STATE_MARSHALED, STATE_UNINITIALIZED, STATE_UNMARSHALEDEXCLUSIVE, EXCLUSIVE_WITH_COMMENTS, INCLUSIVE, INCLUSIVE_WITH_COMMENTS| Constructor and Description |
|---|
CanonicalizationMethodImpl(DOMCryptoContext context,
Node node)
Creates a new instance of this
NewCanonicalizationMethodImpl. |
CanonicalizationMethodImpl(String algorithm,
DOMStructure params)
Creates a new instance of this
CanonicalizationMethodImpl with
specified algorithm URI and parameters. |
CanonicalizationMethodImpl(String algorithm,
TransformParameterSpec params)
Creates a new instance of this
CanonicalizationMethodImpl. |
CanonicalizationMethodImpl(String algorithm,
TransformParameterSpec params,
Provider provider)
Creates a new instance of this
CanonicalizationMethodImpl. |
| Modifier and Type | Method and Description |
|---|---|
String |
getLocalName()
Returns the local name of the represented XML element.
|
clearMarshalling, getAlgorithm, getNamespace, getParameterSpec, getTransformService, marshal, marshalAttributes, setTransformService, toString, transform, transform, unmarshalAttributes, unmarshalStructuresaddBytesToElement, addBytesToElement, clearMarshalling, getBytesFromElement, getBytesFromElementStream, getChildStructures, getChildStructureVersion, getHere, getImplClass, getInstance, getInstance, getNode, getParentStructure, getParentStructureOf, getQualifiedName, getQualifiedName, hasNSDeclAttrInScope, isFeatureSupported, isNSDeclInScope, marshalElement, marshalIDAttribute, newIDforLookUp, putChildStructure, putImplClass, setBackToCompatibilityPrior1_14, setNode, setParentStructure, unmarshal, unmarshalElement, unmarshalIDAttribute, wrapNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetParameterSpecisFeatureSupportedgetAlgorithmpublic static final String C14n11_INCLUSIVE
CanonicalizationMethod,
Constant Field Valuespublic static final String C14n11_INCLUSIVE_WITH_COMMENTS
CanonicalizationMethod,
Constant Field Valuespublic CanonicalizationMethodImpl(String algorithm, TransformParameterSpec params, Provider provider) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException
CanonicalizationMethodImpl.
XSect is configured to use it's own CanonicalizationMethod via
TransformService.getInstance(String, String, Provider). This can be
overidden using XSecProvider.setDelegationProvider(String, String)
which per default is set to "XSECT".algorithm - params - provider - an instance ofNoSuchAlgorithmExceptionInvalidAlgorithmParameterExceptionpublic CanonicalizationMethodImpl(String algorithm, TransformParameterSpec params) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException
CanonicalizationMethodImpl.
XSect is configured to use it's own CanonicalizationMethod via
TransformService.getInstance(String, String, String). This can be
overidden using XSecProvider.setDelegationProvider(String, String)
which per default is set to "XSECT".algorithm - params - NoSuchAlgorithmExceptionInvalidAlgorithmParameterExceptionpublic CanonicalizationMethodImpl(String algorithm, DOMStructure params) throws NoSuchAlgorithmException, InvalidAlgorithmParameterException
CanonicalizationMethodImpl with
specified algorithm URI and parameters. The parameters are specified as a
mechanism-specific XMLStructure (
DOMStructure). This method is useful when the
parameters are in XML form or there is no standard class for specifying the
parameters.algorithm - the URI identifying the canonicalization algorithmparams - a mechanism-specific XML structure from which to unmarshal the
parameters from (may be null if not required or
optional)ClassCastException - if the type of params is inappropriate for this
CanonicalizationMethodImplNoSuchAlgorithmException - if an implementation of the specified algorithm cannot be foundInvalidAlgorithmParameterException - if the specified parameters are inappropriate for the requested
algorithmNullPointerException - if if algorithm is nullpublic CanonicalizationMethodImpl(DOMCryptoContext context, Node node) throws MarshalException
NewCanonicalizationMethodImpl.context - node - MarshalExceptionpublic String getLocalName()
DOMStructuregetLocalName in class TransformImplDOMStructure.getLocalName()© 2002-2005 IAIK, © 2004, 2006 - 2019 Stiftung SIC