ds:Transform
element.
This Transform
(Factory) class acts as the Factory and Proxy of
the implementing class that supports the functionality of a Transform
algorithm.
Implements the Factory and Proxy pattern for ds:Transform algorithms.
Transforms
, TransformSpi
Modifier and Type | Field and Description |
---|---|
private static final Logger | |
private final TransformSpi | |
private static Map | transformSpiHash
All available Transform classes are registered here |
Access | Constructor and Description |
---|---|
public | Transform(Document
the proxy doc, String Document Transform algorithm URI representation,
such as specified in
Transform algorithm Generates a Transform object that implements the specified
|
public | |
public | |
public |
Modifier and Type | Method and Description |
---|---|
public String | getBaseLocalName()
Implements abstract com. Returns the localname of the Elements of the sub-class. |
public String | Returns: the URI representation of Transformation algorithmReturns the URI representation of Transformation algorithm |
private TransformSpi | |
public XMLSignatureInput | Returns: theXMLSignatureInput class as the result of
transformationinput input, boolean XMLSignatureInput which can supplied Octet
Stream and NodeSet as Input of TransformationWhether secure validation is enabled secureValidation)Transforms the input, and generates |
public XMLSignatureInput | Returns: theXMLSignatureInput class as the result of
transformationinput input, OutputStream XMLSignatureInput which can supplied Octet
Stream and NodeSet as Input of Transformationwhere to output the result of the last transformation os, boolean Whether secure validation is enabled secureValidation)Transforms the input, and generates |
public static void | register(String
algorithmURI URI representation of algorithmURI, String Transform algorithm implementingClass the implementing
class of TransformSpi Registers implementing class of the Transform algorithm with algorithmURI |
public static void | register(String
algorithmURI URI representation of algorithmURI, Class<? extends TransformSpi> Transform algorithm implementingClass the implementing
class of TransformSpi Registers implementing class of the Transform algorithm with algorithmURI |
public static void |
LOG | back to summary |
---|---|
private static final Logger LOG Hides com. |
transformSpi | back to summary |
---|---|
private final TransformSpi transformSpi |
transformSpiHash | back to summary |
---|---|
private static Map<String, TransformSpi> transformSpiHash All available Transform classes are registered here |
Transform | back to summary |
---|---|
public Transform(Document doc, String algorithmURI) throws InvalidTransformException Generates a Transform object that implements the specified
|
Transform | back to summary |
---|---|
public Transform(Document doc, String algorithmURI, Element contextChild) throws InvalidTransformException Generates a Transform object that implements the specified
|
Transform | back to summary |
---|---|
public Transform(Document doc, String algorithmURI, NodeList contextNodes) throws InvalidTransformException Constructs |
Transform | back to summary |
---|---|
public Transform(Element element, String baseURI) throws InvalidTransformException, TransformationException, XMLSecurityException |
getBaseLocalName | back to summary |
---|---|
public String getBaseLocalName() Implements abstract com. Doc from com. Returns the localname of the Elements of the sub-class.
|
getURI | back to summary |
---|---|
public String getURI() Returns the URI representation of Transformation algorithm
|
initializeTransform | back to summary |
---|---|
private TransformSpi initializeTransform(String algorithmURI) throws InvalidTransformException Initialize the transform object. |
performTransform | back to summary |
---|---|
public XMLSignatureInput performTransform(XMLSignatureInput input, boolean secureValidation) throws IOException, CanonicalizationException, InvalidCanonicalizerException, TransformationException Transforms the input, and generates
|
performTransform | back to summary |
---|---|
public XMLSignatureInput performTransform(XMLSignatureInput input, OutputStream os, boolean secureValidation) throws IOException, CanonicalizationException, InvalidCanonicalizerException, TransformationException Transforms the input, and generates
|
register | back to summary |
---|---|
public static void register(String algorithmURI, String implementingClass) throws AlgorithmAlreadyRegisteredException, ClassNotFoundException, InvalidTransformException Registers implementing class of the Transform algorithm with algorithmURI
|
register | back to summary |
---|---|
public static void register(String algorithmURI, Class<? extends TransformSpi> implementingClass) throws AlgorithmAlreadyRegisteredException, InvalidTransformException Registers implementing class of the Transform algorithm with algorithmURI
|
registerDefaultAlgorithms | back to summary |
---|---|
public static void registerDefaultAlgorithms() This method registers the default algorithms. |