/forgerock/openam-v13/openam-radius/openam-radius-common/src/main/java/org/forgerock/openam/radius/common/ |
H A D | ResponseAuthenticator.java | 44 private byte[] octets = null; field in class:ResponseAuthenticator 49 * @param octets the on-the-wire bytes. 51 public ResponseAuthenticator(byte[] octets) { argument 52 this.octets = octets; 62 return octets;
|
H A D | OctetUtils.java | 104 * - has a four octets on the wire but uses an {@link java.net.InetAddress} object internally. 131 byte[] octets; 139 octets = new byte[Attribute.MAX_ATTRIBUTE_LENGTH]; 140 octets[0] = (byte) type.getTypeCode(); 141 octets[1] = (byte) Attribute.MAX_ATTRIBUTE_LENGTH; // max length 142 System.arraycopy(s, 0, octets, 2, Attribute.MAX_ATTRIBUTE_VALUE_LENGTH); 144 octets = new byte[s.length + 2]; 145 octets[0] = (byte) type.getTypeCode(); 146 octets[1] = (byte) (s.length + 2); 147 System.arraycopy(s, 0, octets, 200 toIntVal(byte[] octets) argument [all...] |
H A D | UserNameAttribute.java | 49 * @param octets 52 public UserNameAttribute(byte[] octets) { argument 53 super(octets); 54 this.username = new String(octets, 2, octets.length - 2); 66 final byte[] octets = super.getOctets(); 67 this.username = new String(octets, 2, octets.length - 2);
|
H A D | Attribute.java | 62 private byte[] octets; field in class:Attribute 65 * Constructor using the on-the-wire octets for the attribute. 67 * @param octets 68 * the on-the-wire octets 70 public Attribute(byte[] octets) { argument 71 this.octets = octets; 72 type = AttributeType.getType(octets[0]); 85 * Sets the array of octets representing the format of a given attribute on-the-wire including prefixed type and 86 * length octets a 92 setOctets(byte[] octets) argument [all...] |
H A D | RequestAuthenticator.java | 50 private byte[] octets = null; field in class:RequestAuthenticator 68 octets = md5.digest(); 72 * Generates a request authenticator field consisting of the 16 octets from the on-the-wire form of a packet. 74 * @param octets the on-the-wire bytes. 76 public RequestAuthenticator(byte[] octets) { argument 77 this.octets = octets; 87 return octets;
|
H A D | ReplyMessageAttribute.java | 48 * Creates a ReplyMessageAttribute from the on-the-wire octets. 50 * @param octets 53 public ReplyMessageAttribute(byte[] octets) { argument 54 super(octets); 55 msg = new String(octets, 2, octets.length - 2, Charset.forName("utf-8"));
|
H A D | StateAttribute.java | 59 * Creates a ReplyMessageAttribute from the on-the-wire octets. 61 * @param octets 64 public StateAttribute(byte[] octets) { argument 65 super(octets); 66 state = new String(octets, 2, octets.length - 2, Charset.forName("utf-8"));
|
/forgerock/openam/openam-radius/openam-radius-common/src/main/java/org/forgerock/openam/radius/common/ |
H A D | ResponseAuthenticator.java | 44 private byte[] octets = null; field in class:ResponseAuthenticator 49 * @param octets the on-the-wire bytes. 51 public ResponseAuthenticator(byte[] octets) { argument 52 this.octets = octets; 62 return octets;
|
H A D | OctetUtils.java | 104 * - has a four octets on the wire but uses an {@link java.net.InetAddress} object internally. 131 byte[] octets; 139 octets = new byte[Attribute.MAX_ATTRIBUTE_LENGTH]; 140 octets[0] = (byte) type.getTypeCode(); 141 octets[1] = (byte) Attribute.MAX_ATTRIBUTE_LENGTH; // max length 142 System.arraycopy(s, 0, octets, 2, Attribute.MAX_ATTRIBUTE_VALUE_LENGTH); 144 octets = new byte[s.length + 2]; 145 octets[0] = (byte) type.getTypeCode(); 146 octets[1] = (byte) (s.length + 2); 147 System.arraycopy(s, 0, octets, 200 toIntVal(byte[] octets) argument [all...] |
H A D | UserNameAttribute.java | 49 * @param octets 52 public UserNameAttribute(byte[] octets) { argument 53 super(octets); 54 this.username = new String(octets, 2, octets.length - 2); 66 final byte[] octets = super.getOctets(); 67 this.username = new String(octets, 2, octets.length - 2);
|
H A D | Attribute.java | 62 private byte[] octets; field in class:Attribute 65 * Constructor using the on-the-wire octets for the attribute. 67 * @param octets 68 * the on-the-wire octets 70 public Attribute(byte[] octets) { argument 71 this.octets = octets; 72 type = AttributeType.getType(octets[0]); 85 * Sets the array of octets representing the format of a given attribute on-the-wire including prefixed type and 86 * length octets a 92 setOctets(byte[] octets) argument [all...] |
H A D | RequestAuthenticator.java | 50 private byte[] octets = null; field in class:RequestAuthenticator 68 octets = md5.digest(); 72 * Generates a request authenticator field consisting of the 16 octets from the on-the-wire form of a packet. 74 * @param octets the on-the-wire bytes. 76 public RequestAuthenticator(byte[] octets) { argument 77 this.octets = octets; 87 return octets;
|
/forgerock/openam-v13/openam-radius/openam-radius-common/src/main/java/org/forgerock/openam/radius/common/packet/ |
H A D | NASIPAddressAttribute.java | 55 * @param octets the on-the-wire bytes from which to construct this instance 57 public NASIPAddressAttribute(byte[] octets) { argument 58 super(octets); 60 byte[] addr = new byte[octets.length - 2]; 61 System.arraycopy(octets, 2, addr, 0, addr.length); 73 * @return the on-the-wire octets representing this attribute instance. 76 byte[] octets = new byte[6]; 77 octets[0] = (byte) AttributeType.NAS_IP_ADDRESS.getTypeCode(); 78 octets[1] = 6; 80 octets[ [all...] |
H A D | FramedIPAddressAttribute.java | 77 byte[] octets = super.getOctets(); 78 addr[0] = octets[2]; 79 addr[1] = octets[3]; 80 addr[2] = octets[4]; 81 addr[3] = octets[5]; 88 * @param octets the on-the-wire bytes from which to construct this instance 90 public FramedIPAddressAttribute(byte[] octets) { argument 91 super(octets); 92 addr[0] = octets[2]; 93 addr[1] = octets[ [all...] |
H A D | VendorSpecificAttribute.java | 62 * @param octets the on-the-wire bytes from which to construct this instance 64 public VendorSpecificAttribute(byte[] octets) { argument 65 super(octets); 66 id = OctetUtils.toIntVal(octets); 67 str = new String(octets, 6, octets.length - 6, StandardCharsets.UTF_8); 88 * @return the octets for the on-the-wire bytes 95 byte[] octets; 98 octets = new byte[Attribute.MAX_ATTRIBUTE_LENGTH]; 99 System.arraycopy(s, 0, octets, bas [all...] |
H A D | CHAPPasswordAttribute.java | 59 * very clear on the "password" value other than saying it is 16 octets in length. For clarity we must read RFC 79 * @return the octets for the on-the-wire bytes 82 byte[] octets = new byte[19]; 95 octets[0] = (byte) AttributeType.CHAP_PASSWORD.getTypeCode(); 96 octets[1] = 19; 97 octets[2] = (byte) identifier; 98 System.arraycopy(s, 0, octets, 3, 16); 99 return octets; 106 * @param octets the on-the-wire bytes from which to construct this instance 108 public CHAPPasswordAttribute(byte[] octets) { argument [all...] |
H A D | FramedIPNetmaskAttribute.java | 51 * footprint of the other constructor that uses the raw octets. The ordering is significant. The first parameter 72 * @param octets the on-the-wire bytes from which to construct this instance 74 public FramedIPNetmaskAttribute(byte[] octets) { argument 75 super(octets); 76 mask[0] = octets[2]; 77 mask[1] = octets[3]; 78 mask[2] = octets[4]; 79 mask[3] = octets[5];
|
H A D | FramedIPXNetworkAttribute.java | 51 * @param octets the FramedIPX network packet 53 public FramedIPXNetworkAttribute(byte[] octets) { argument 55 super(octets); 56 net[0] = octets[2]; 57 net[1] = octets[3]; 58 net[2] = octets[4]; 59 net[3] = octets[5];
|
H A D | CHAPChallengeAttribute.java | 53 * @param octets the on-the-wire bytes from which to construct this instance 55 public CHAPChallengeAttribute(byte[] octets) { argument 56 super(octets); 57 str = new String(octets, 2, octets.length - 2);
|
/forgerock/openam/openam-radius/openam-radius-common/src/main/java/org/forgerock/openam/radius/common/packet/ |
H A D | NASIPAddressAttribute.java | 55 * @param octets the on-the-wire bytes from which to construct this instance 57 public NASIPAddressAttribute(byte[] octets) { argument 58 super(octets); 60 byte[] addr = new byte[octets.length - 2]; 61 System.arraycopy(octets, 2, addr, 0, addr.length); 73 * @return the on-the-wire octets representing this attribute instance. 76 byte[] octets = new byte[6]; 77 octets[0] = (byte) AttributeType.NAS_IP_ADDRESS.getTypeCode(); 78 octets[1] = 6; 80 octets[ [all...] |
H A D | FramedIPAddressAttribute.java | 77 byte[] octets = super.getOctets(); 78 addr[0] = octets[2]; 79 addr[1] = octets[3]; 80 addr[2] = octets[4]; 81 addr[3] = octets[5]; 88 * @param octets the on-the-wire bytes from which to construct this instance 90 public FramedIPAddressAttribute(byte[] octets) { argument 91 super(octets); 92 addr[0] = octets[2]; 93 addr[1] = octets[ [all...] |
H A D | VendorSpecificAttribute.java | 62 * @param octets the on-the-wire bytes from which to construct this instance 64 public VendorSpecificAttribute(byte[] octets) { argument 65 super(octets); 66 id = OctetUtils.toIntVal(octets); 67 str = new String(octets, 6, octets.length - 6, StandardCharsets.UTF_8); 88 * @return the octets for the on-the-wire bytes 95 byte[] octets; 98 octets = new byte[Attribute.MAX_ATTRIBUTE_LENGTH]; 99 System.arraycopy(s, 0, octets, bas [all...] |
H A D | CHAPPasswordAttribute.java | 59 * very clear on the "password" value other than saying it is 16 octets in length. For clarity we must read RFC 79 * @return the octets for the on-the-wire bytes 82 byte[] octets = new byte[19]; 95 octets[0] = (byte) AttributeType.CHAP_PASSWORD.getTypeCode(); 96 octets[1] = 19; 97 octets[2] = (byte) identifier; 98 System.arraycopy(s, 0, octets, 3, 16); 99 return octets; 106 * @param octets the on-the-wire bytes from which to construct this instance 108 public CHAPPasswordAttribute(byte[] octets) { argument [all...] |
H A D | FramedIPNetmaskAttribute.java | 51 * footprint of the other constructor that uses the raw octets. The ordering is significant. The first parameter 72 * @param octets the on-the-wire bytes from which to construct this instance 74 public FramedIPNetmaskAttribute(byte[] octets) { argument 75 super(octets); 76 mask[0] = octets[2]; 77 mask[1] = octets[3]; 78 mask[2] = octets[4]; 79 mask[3] = octets[5];
|
H A D | FramedIPXNetworkAttribute.java | 51 * @param octets the FramedIPX network packet 53 public FramedIPXNetworkAttribute(byte[] octets) { argument 55 super(octets); 56 net[0] = octets[2]; 57 net[1] = octets[3]; 58 net[2] = octets[4]; 59 net[3] = octets[5];
|