Class ApacheCanonicalizer
java.lang.Object
javax.xml.crypto.dsig.TransformService
org.apache.jcp.xml.dsig.internal.dom.ApacheCanonicalizer
- All Implemented Interfaces:
AlgorithmMethod
,Transform
,XMLStructure
- Direct Known Subclasses:
DOMCanonicalXMLC14N11Method
,DOMCanonicalXMLC14NMethod
,DOMExcC14NMethod
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Canonicalizer
private Transform
protected String
private static final org.slf4j.Logger
protected Document
protected C14NMethodParameterSpec
protected Element
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncanonicalize
(Data data, XMLCryptoContext xc) canonicalize
(Data data, XMLCryptoContext xc, OutputStream os) final AlgorithmParameterSpec
void
init
(XMLStructure parent, XMLCryptoContext context) final boolean
isFeatureSupported
(String feature) void
marshalParams
(XMLStructure parent, XMLCryptoContext context) transform
(Data data, XMLCryptoContext xc, OutputStream os) Methods inherited from class javax.xml.crypto.dsig.TransformService
getAlgorithm, getInstance, getInstance, getInstance, getMechanismType, getProvider, init
-
Field Details
-
LOG
private static final org.slf4j.Logger LOG -
apacheCanonicalizer
-
apacheTransform
-
inclusiveNamespaces
-
params
-
ownerDoc
-
transformElem
-
-
Constructor Details
-
ApacheCanonicalizer
public ApacheCanonicalizer()
-
-
Method Details
-
getParameterSpec
-
init
public void init(XMLStructure parent, XMLCryptoContext context) throws InvalidAlgorithmParameterException - Specified by:
init
in classTransformService
- Throws:
InvalidAlgorithmParameterException
-
marshalParams
- Specified by:
marshalParams
in classTransformService
- Throws:
MarshalException
-
canonicalize
- Throws:
TransformException
-
canonicalize
- Throws:
TransformException
-
transform
- Throws:
TransformException
-
isFeatureSupported
-