| Modifier and Type | Field and Description |
|---|---|
| private static final boolean | OLD_UTF8
Revert to the old behavior (version 2 or before), i.e. surrogate pairs characters becomes '??' in output. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static byte[] | |
| public static void | |
| public static void | |
| public static void |
| OLD_UTF8 | back to summary |
|---|---|
| private static final boolean OLD_UTF8 Revert to the old behavior (version 2 or before), i.e. surrogate pairs characters becomes '??' in output. Set system property com.sun.org.apache.xml.internal.security.c14n.oldUtf8=true if you want to verify signatures generated by version 2 or before that contains 32 bit chars in the XML document.
| |
| UtfHelpper | back to summary |
|---|---|
| private UtfHelpper() | |
| getStringInUtf8 | back to summary |
|---|---|
| public static byte[] getStringInUtf8(final String str) | |
| writeByte | back to summary |
|---|---|
| public static void writeByte(final String str, final OutputStream out, Map<String, byte[]> cache) throws IOException | |
| writeCodePointToUtf8 | back to summary |
|---|---|
| public static void writeCodePointToUtf8(final int c, final OutputStream out) throws IOException | |
| writeStringToUtf8 | back to summary |
|---|---|
| public static void writeStringToUtf8(final String str, final OutputStream out) throws IOException | |