| Modifier and Type | Field and Description |
|---|---|
| public static final String | ALGO_ID_C14N11_OMIT_COMMENTS
The URI for inclusive c14n 1.1 without comments. |
| public static final String | ALGO_ID_C14N11_WITH_COMMENTS
The URI for inclusive c14n 1.1 with comments. |
| public static final String | ALGO_ID_C14N_EXCL_OMIT_COMMENTS
The URL defined in XML-SEC Rec for exclusive c14n without comments. |
| public static final String | ALGO_ID_C14N_EXCL_WITH_COMMENTS
The URL defined in XML-SEC Rec for exclusive c14n with comments. |
| public static final String | ALGO_ID_C14N_OMIT_COMMENTS
The URL defined in XML-SEC Rec for inclusive c14n without comments. |
| public static final String | ALGO_ID_C14N_PHYSICAL
Non-standard algorithm to serialize the physical representation for XML Encryption |
| public static final String | ALGO_ID_C14N_WITH_COMMENTS
The URL defined in XML-SEC Rec for inclusive c14n with comments. |
| private static Map | |
| private final CanonicalizerSpi | |
| public static final String | ENCODING
The output encoding of canonicalized data |
| public static final String | XPATH_C14N_WITH_COMMENTS_SINGLE_NODE
XPath Expression for selecting every node and continuous comments joined in only one node |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | canonicalize(byte[] inputBytes, OutputStream
OutputStream to write the canonicalization result writer, boolean Whether secure validation is enabled secureValidation)This method tries to canonicalize the given bytes. |
| public void | canonicalizeSubtree(Node
The node to canonicalize node, OutputStream OutputStream to write the canonicalization result writer)Canonicalizes the subtree rooted by |
| public void | canonicalizeSubtree(Node node, String inclusiveNamespaces, OutputStream
OutputStream to write the canonicalization result writer)Canonicalizes the subtree rooted by |
| public void | canonicalizeSubtree(Node node, String inclusiveNamespaces, boolean propagateDefaultNamespace, OutputStream
OutputStream to write the canonicalization result writer)Canonicalizes the subtree rooted by |
| public void | canonicalizeXPathNodeSet(Set<Node> xpathNodeSet, OutputStream
OutputStream to write the canonicalization result writer)Canonicalizes an XPath node set. |
| public void | canonicalizeXPathNodeSet(Set<Node> xpathNodeSet, String inclusiveNamespaces, OutputStream
OutputStream to write the canonicalization result writer)Canonicalizes an XPath node set. |
| public static Canonicalizer | Returns: a Canonicalizer instance ready for the jobMethod getInstance |
| public static void | |
| public static void | |
| public static void |
| ALGO_ID_C14N11_OMIT_COMMENTS | back to summary |
|---|---|
| public static final String ALGO_ID_C14N11_OMIT_COMMENTS The URI for inclusive c14n 1.1 without comments. | |
| ALGO_ID_C14N11_WITH_COMMENTS | back to summary |
|---|---|
| public static final String ALGO_ID_C14N11_WITH_COMMENTS The URI for inclusive c14n 1.1 with comments. | |
| ALGO_ID_C14N_EXCL_OMIT_COMMENTS | back to summary |
|---|---|
| public static final String ALGO_ID_C14N_EXCL_OMIT_COMMENTS The URL defined in XML-SEC Rec for exclusive c14n without comments. | |
| ALGO_ID_C14N_EXCL_WITH_COMMENTS | back to summary |
|---|---|
| public static final String ALGO_ID_C14N_EXCL_WITH_COMMENTS The URL defined in XML-SEC Rec for exclusive c14n with comments. | |
| ALGO_ID_C14N_OMIT_COMMENTS | back to summary |
|---|---|
| public static final String ALGO_ID_C14N_OMIT_COMMENTS The URL defined in XML-SEC Rec for inclusive c14n without comments. | |
| ALGO_ID_C14N_PHYSICAL | back to summary |
|---|---|
| public static final String ALGO_ID_C14N_PHYSICAL Non-standard algorithm to serialize the physical representation for XML Encryption | |
| ALGO_ID_C14N_WITH_COMMENTS | back to summary |
|---|---|
| public static final String ALGO_ID_C14N_WITH_COMMENTS The URL defined in XML-SEC Rec for inclusive c14n with comments. | |
| canonicalizerHash | back to summary |
|---|---|
| private static Map<String, Class<? extends CanonicalizerSpi>> canonicalizerHash | |
| canonicalizerSpi | back to summary |
|---|---|
| private final CanonicalizerSpi canonicalizerSpi | |
| ENCODING | back to summary |
|---|---|
| public static final String ENCODING The output encoding of canonicalized data | |
| XPATH_C14N_WITH_COMMENTS_SINGLE_NODE | back to summary |
|---|---|
| public static final String XPATH_C14N_WITH_COMMENTS_SINGLE_NODE XPath Expression for selecting every node and continuous comments joined in only one node | |
| Canonicalizer | back to summary |
|---|---|
| private Canonicalizer(String algorithmURI) throws InvalidCanonicalizerException Constructor Canonicalizer | |
| canonicalize | back to summary |
|---|---|
| public void canonicalize(byte[] inputBytes, OutputStream writer, boolean secureValidation) throws XMLParserException, IOException, CanonicalizationException This method tries to canonicalize the given bytes. It's possible to even
canonicalize non-wellformed sequences if they are well-formed after being
wrapped with a
| |
| canonicalizeSubtree | back to summary |
|---|---|
| public void canonicalizeSubtree(Node node, OutputStream writer) throws CanonicalizationException Canonicalizes the subtree rooted by
| |
| canonicalizeSubtree | back to summary |
|---|---|
| public void canonicalizeSubtree(Node node, String inclusiveNamespaces, OutputStream writer) throws CanonicalizationException Canonicalizes the subtree rooted by
| |
| canonicalizeSubtree | back to summary |
|---|---|
| public void canonicalizeSubtree(Node node, String inclusiveNamespaces, boolean propagateDefaultNamespace, OutputStream writer) throws CanonicalizationException Canonicalizes the subtree rooted by
| |
| canonicalizeXPathNodeSet | back to summary |
|---|---|
| public void canonicalizeXPathNodeSet(Set<Node> xpathNodeSet, OutputStream writer) throws CanonicalizationException Canonicalizes an XPath node set.
| |
| canonicalizeXPathNodeSet | back to summary |
|---|---|
| public void canonicalizeXPathNodeSet(Set<Node> xpathNodeSet, String inclusiveNamespaces, OutputStream writer) throws CanonicalizationException Canonicalizes an XPath node set.
| |
| getInstance | back to summary |
|---|---|
| public static Canonicalizer getInstance(String algorithmURI) throws InvalidCanonicalizerException Method getInstance
| |
| register | back to summary |
|---|---|
| public static void register(String algorithmURI, String implementingClass) throws AlgorithmAlreadyRegisteredException, ClassNotFoundException Method register
| |
| register | back to summary |
|---|---|
| public static void register(String algorithmURI, Class<? extends CanonicalizerSpi> implementingClass) throws AlgorithmAlreadyRegisteredException, ClassNotFoundException Method register
| |
| registerDefaultAlgorithms | back to summary |
|---|---|
| public static void registerDefaultAlgorithms() This method registers the default algorithms. | |