public abstract class ApacheCanonicalizer extends TransformService
Modifier and Type | Field and Description |
---|---|
protected Canonicalizer |
canonicalizer |
protected String |
inclusiveNamespaces |
protected Document |
ownerDoc |
protected C14NMethodParameterSpec |
params |
protected Element |
transformElem |
Constructor and Description |
---|
ApacheCanonicalizer() |
Modifier and Type | Method and Description |
---|---|
Data |
canonicalize(Data data,
XMLCryptoContext xc) |
Data |
canonicalize(Data data,
XMLCryptoContext xc,
OutputStream os) |
AlgorithmParameterSpec |
getParameterSpec() |
void |
init(XMLStructure parent,
XMLCryptoContext context) |
boolean |
isFeatureSupported(String feature) |
void |
marshalParams(XMLStructure parent,
XMLCryptoContext context) |
Data |
transform(Data data,
XMLCryptoContext xc,
OutputStream os) |
getAlgorithm, getInstance, getInstance, getInstance, getMechanismType, getProvider, init
protected Canonicalizer canonicalizer
protected String inclusiveNamespaces
protected C14NMethodParameterSpec params
protected Document ownerDoc
protected Element transformElem
public final AlgorithmParameterSpec getParameterSpec()
public void init(XMLStructure parent, XMLCryptoContext context) throws InvalidAlgorithmParameterException
init
in class TransformService
InvalidAlgorithmParameterException
public void marshalParams(XMLStructure parent, XMLCryptoContext context) throws MarshalException
marshalParams
in class TransformService
MarshalException
public Data canonicalize(Data data, XMLCryptoContext xc) throws TransformException
TransformException
public Data canonicalize(Data data, XMLCryptoContext xc, OutputStream os) throws TransformException
TransformException
public Data transform(Data data, XMLCryptoContext xc, OutputStream os) throws TransformException
TransformException
public final boolean isFeatureSupported(String feature)
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.