Searched refs:spacedHex (Results 1 - 4 of 4) sorted by relevance

/forgerock/openam-v13/openam-radius/openam-radius-common/src/test/java/org/forgerock/openam/radius/common/
H A DRfc2865Examples.java43 public static String spacedHex = "01 00 00 38 0f 40 3f 94 73 97 80 57 bd 83 d5 cb" field in class:Rfc2865Examples.Ex71
/forgerock/openam/openam-radius/openam-radius-common/src/test/java/org/forgerock/openam/radius/common/
H A DRfc2865Examples.java43 public static String spacedHex = "01 00 00 38 0f 40 3f 94 73 97 80 57 bd 83 d5 cb" field in class:Rfc2865Examples.Ex71
/forgerock/openam-v13/openam-radius/openam-radius-common/src/main/java/org/forgerock/openam/radius/common/
H A DUtils.java71 * @param spacedHex the string containing spaced hexadecimal values to be converted to a byte array.
74 public static byte[] toByteArray(String spacedHex) { argument
76 final int len = spacedHex.length();
81 final char chr = spacedHex.charAt(idx++);
86 sb.append(spacedHex.charAt(idx++));
99 * @param spacedHex the string containing spaced hexadecimal values to be converted to a byte array.
102 public static ByteBuffer toBuffer(String spacedHex) { argument
103 return ByteBuffer.wrap(toByteArray(spacedHex));
/forgerock/openam/openam-radius/openam-radius-common/src/main/java/org/forgerock/openam/radius/common/
H A DUtils.java71 * @param spacedHex the string containing spaced hexadecimal values to be converted to a byte array.
74 public static byte[] toByteArray(String spacedHex) { argument
76 final int len = spacedHex.length();
81 final char chr = spacedHex.charAt(idx++);
86 sb.append(spacedHex.charAt(idx++));
99 * @param spacedHex the string containing spaced hexadecimal values to be converted to a byte array.
102 public static ByteBuffer toBuffer(String spacedHex) { argument
103 return ByteBuffer.wrap(toByteArray(spacedHex));

Completed in 41 milliseconds