/forgerock/openam-v13/openam-tokens/src/main/java/org/forgerock/openam/tokens/ |
H A D | JsonValueToJsonBytesConverter.java | 57 public JsonValue convertBack(byte[] bytes) { argument 59 return new JsonValue(mapper.readValue(bytes, Object.class));
|
H A D | SetToJsonBytesConverter.java | 59 public Set<?> convertBack(byte[] bytes) { argument 61 return mapper.readValue(bytes, MAP_TYPE);
|
/forgerock/openam/openam-tokens/src/main/java/org/forgerock/openam/tokens/ |
H A D | JsonValueToJsonBytesConverter.java | 57 public JsonValue convertBack(byte[] bytes) { argument 59 return new JsonValue(mapper.readValue(bytes, Object.class));
|
H A D | SetToJsonBytesConverter.java | 59 public Set<?> convertBack(byte[] bytes) { argument 61 return mapper.readValue(bytes, MAP_TYPE);
|
/forgerock/opendj-b2.6/src/server/org/opends/server/replication/service/ |
H A D | ReplInputStream.java | 49 private byte[] bytes; field in class:ReplInputStream 79 * @param len The maximum number of bytes that may be read into the 82 * @return The number of bytes read from the input stream into the provided 97 if (bytes == null) 101 bytes = domain.receiveEntryBytes(); 103 if (bytes==null) 109 receivedLength = bytes.length; 116 receivedLength = bytes.length - index; 128 System.arraycopy(bytes, index, b, off, copiedLength); 131 if (index == bytes [all...] |
/forgerock/opendj2/src/server/org/opends/server/replication/service/ |
H A D | ReplInputStream.java | 44 private byte[] bytes; field in class:ReplInputStream 74 * @param len The maximum number of bytes that may be read into the 77 * @return The number of bytes read from the input stream into the provided 94 if (bytes == null) 98 bytes = domain.receiveEntryBytes(); 100 if (bytes==null) 106 receivedLength = bytes.length; 113 receivedLength = bytes.length - index; 125 System.arraycopy(bytes, index, b, off, copiedLength); 128 if (index == bytes [all...] |
/forgerock/opendj2.6.2/src/server/org/opends/server/replication/service/ |
H A D | ReplInputStream.java | 49 private byte[] bytes; field in class:ReplInputStream 79 * @param len The maximum number of bytes that may be read into the 82 * @return The number of bytes read from the input stream into the provided 97 if (bytes == null) 101 bytes = domain.receiveEntryBytes(); 103 if (bytes==null) 109 receivedLength = bytes.length; 116 receivedLength = bytes.length - index; 128 System.arraycopy(bytes, index, b, off, copiedLength); 131 if (index == bytes [all...] |
/forgerock/opendj2-jel-hg/src/server/org/opends/server/replication/service/ |
H A D | ReplInputStream.java | 49 private byte[] bytes; field in class:ReplInputStream 79 * @param len The maximum number of bytes that may be read into the 82 * @return The number of bytes read from the input stream into the provided 97 if (bytes == null) 101 bytes = domain.receiveEntryBytes(); 103 if (bytes==null) 109 receivedLength = bytes.length; 116 receivedLength = bytes.length - index; 128 System.arraycopy(bytes, index, b, off, copiedLength); 131 if (index == bytes [all...] |
/forgerock/opendj2-hg/src/server/org/opends/server/replication/service/ |
H A D | ReplInputStream.java | 44 private byte[] bytes; field in class:ReplInputStream 74 * @param len The maximum number of bytes that may be read into the 77 * @return The number of bytes read from the input stream into the provided 94 if (bytes == null) 98 bytes = domain.receiveEntryBytes(); 100 if (bytes==null) 106 receivedLength = bytes.length; 113 receivedLength = bytes.length - index; 125 System.arraycopy(bytes, index, b, off, copiedLength); 128 if (index == bytes [all...] |
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/log/handlers/syslog/ |
H A D | SyslogPublisher.java | 44 * Flush underlying connection. Sends buffered bytes as UDP datagram or as the next message on TCP stream. The real 51 byte[] bytes = logRecord.getBytes(Charset.forName("UTF-8")); 55 sendLogRecord(bytes); 78 * @param bytes The logRecord's byte[] representation. 81 protected abstract void sendLogRecord(byte[] bytes) throws IOException; argument
|
H A D | SyslogTcpPublisher.java | 88 * @param bytes The log record's byte[] representation. 92 protected void sendLogRecord(byte[] bytes) throws IOException { argument 94 out.write(String.valueOf(bytes.length).getBytes("UTF-8")); 96 out.write(bytes);
|
H A D | SyslogUdpPublisher.java | 43 protected void sendLogRecord(byte[] bytes) throws IOException { argument 44 DatagramPacket packet = new DatagramPacket(bytes, bytes.length, socketAddress);
|
/forgerock/openam-v13/openam-radius/openam-radius-common/src/main/java/org/forgerock/openam/radius/common/ |
H A D | Utils.java | 78 final ByteArrayOutputStream bytes = new ByteArrayOutputStream(); 89 bytes.write(b); 93 return bytes.toByteArray(); 112 * @param bytes the binary bytes to be converted to hexadecimal string representation. 113 * @return the string of hexadecimal characters representing the content of the bytes. 115 public static String toHexAndPrintableChars(byte[] bytes) { argument 116 final StringBuilder s = new StringBuilder().append("bytes [ ").append(Utils.toSpacedHex(ByteBuffer.wrap(bytes))) 118 for (int i = 0; i < bytes [all...] |
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/shared/encode/ |
H A D | Base64.java | 40 public static byte[] encodeToByte(byte[] bytes, boolean lineSep) { argument 41 return org.forgerock.util.encode.Base64.encodeToByte(bytes, lineSep); 44 public static char[] encodeToChar(byte[] bytes, boolean lineSep) { argument 45 return org.forgerock.util.encode.Base64.encodeToChar(bytes, lineSep); 48 public static String encode(byte[] bytes, boolean lineSep) { argument 49 return org.forgerock.util.encode.Base64.encode(bytes, lineSep); 52 public static String encode(byte[] bytes) { argument 53 return org.forgerock.util.encode.Base64.encode(bytes); 56 public static byte[] decode(byte[] bytes) { argument 57 return org.forgerock.util.encode.Base64.decode(bytes); [all...] |
/forgerock/jee-agents-v3.5/jee-agents-sdk/src/main/java/com/sun/identity/agents/filter/ |
H A D | OpenSSOHttpServletRequest.java | 44 private byte[] bytes; field in class:OpenSSOHttpServletRequest 51 return new OpenSSOServletInputStream(new ByteArrayInputStream(bytes)); 69 bytes = contents.getBytes(); 77 bytes = contents.getBytes();
|
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/replication/service/ |
H A D | ReplInputStream.java | 44 private byte[] bytes; field in class:ReplInputStream 74 * @param len The maximum number of bytes that may be read into the 77 * @return The number of bytes read from the input stream into the provided 94 if (bytes == null) 98 bytes = domain.receiveEntryBytes(); 100 if (bytes==null) 106 receivedLength = bytes.length; 113 receivedLength = bytes.length - index; 125 System.arraycopy(bytes, index, b, off, copiedLength); 128 if (index == bytes [all...] |
/forgerock/openam/openam-radius/openam-radius-common/src/main/java/org/forgerock/openam/radius/common/ |
H A D | Utils.java | 78 final ByteArrayOutputStream bytes = new ByteArrayOutputStream(); 89 bytes.write(b); 93 return bytes.toByteArray(); 112 * @param bytes the binary bytes to be converted to hexadecimal string representation. 113 * @return the string of hexadecimal characters representing the content of the bytes. 115 public static String toHexAndPrintableChars(byte[] bytes) { argument 116 final StringBuilder s = new StringBuilder().append("bytes [ ").append(Utils.toSpacedHex(ByteBuffer.wrap(bytes))) 118 for (int i = 0; i < bytes [all...] |
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/shared/encode/ |
H A D | Base64.java | 40 public static byte[] encodeToByte(byte[] bytes, boolean lineSep) { argument 41 return org.forgerock.util.encode.Base64.encodeToByte(bytes, lineSep); 44 public static char[] encodeToChar(byte[] bytes, boolean lineSep) { argument 45 return org.forgerock.util.encode.Base64.encodeToChar(bytes, lineSep); 48 public static String encode(byte[] bytes, boolean lineSep) { argument 49 return org.forgerock.util.encode.Base64.encode(bytes, lineSep); 52 public static String encode(byte[] bytes) { argument 53 return org.forgerock.util.encode.Base64.encode(bytes); 56 public static byte[] decode(byte[] bytes) { argument 57 return org.forgerock.util.encode.Base64.decode(bytes); [all...] |
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/log/handlers/syslog/ |
H A D | SyslogPublisher.java | 46 * Flush underlying connection. Sends buffered bytes as UDP datagram or as the next message on TCP stream. The real 56 byte[] bytes = logRecord.getBytes(Charset.forName("UTF-8")); 60 sendLogRecord(bytes); 90 * @param bytes The logRecord's byte[] representation. 93 protected abstract void sendLogRecord(byte[] bytes) throws IOException; argument
|
H A D | SyslogTcpPublisher.java | 88 * @param bytes The log record's byte[] representation. 92 protected void sendLogRecord(byte[] bytes) throws IOException { argument 94 out.write(String.valueOf(bytes.length).getBytes("UTF-8")); 96 out.write(bytes);
|
H A D | SyslogUdpPublisher.java | 43 protected void sendLogRecord(byte[] bytes) throws IOException { argument 44 DatagramPacket packet = new DatagramPacket(bytes, bytes.length, socketAddress);
|
/forgerock/opendj-b2.6/src/server/org/opends/server/protocols/asn1/ |
H A D | ByteSequenceOutputStream.java | 72 public void write(byte[] bytes) throws IOException { argument 73 buffer.append(bytes); 79 public void write(byte[] bytes, int i, int i1) throws IOException { argument 80 buffer.append(bytes, i, i1);
|
/forgerock/opendj-b2.6/src/server/org/opends/server/types/ |
H A D | RecordingOutputStream.java | 34 * OutputStream. The recorded bytes will append to any previous 35 * recorded bytes until the clear method is called. 70 public void write(byte[] bytes) throws IOException { argument 73 buffer.append(bytes); 75 parentStream.write(bytes); 82 public void write(byte[] bytes, int i, int i1) throws IOException { argument 85 buffer.append(bytes, i, i1); 87 parentStream.write(bytes, i, i1); 107 * Retrieve the bytes read from this output stream since the last 110 * @return the bytes rea [all...] |
/forgerock/opendj-b2.6/src/server/org/opends/server/util/ |
H A D | BSDMD5Crypt.java | 68 /* Clear bytes, equivalent of memset */ 69 static private void clearBytes(byte bytes[]) argument 71 for (int i = 0; i < bytes.length; i++) 73 bytes[i] = 0; 111 * 8 bytes will be considered.
|
/forgerock/opendj2/src/server/org/opends/server/protocols/asn1/ |
H A D | ByteSequenceOutputStream.java | 71 public void write(byte[] bytes) throws IOException { argument 72 buffer.append(bytes); 78 public void write(byte[] bytes, int i, int i1) throws IOException { argument 79 buffer.append(bytes, i, i1);
|