Class OctetsAttribute

java.lang.Object
org.tinyradius.core.attribute.type.OctetsAttribute
All Implemented Interfaces:
RadiusAttribute
Direct Known Subclasses:
IntegerAttribute, IpAttribute, Ipv6PrefixAttribute, StringAttribute, VendorSpecificAttribute

public class OctetsAttribute
extends java.lang.Object
implements RadiusAttribute
The basic generic Radius attribute. All type-specific implementations extend this class by adding additional type conversion methods and validations.
  • Constructor Details

    • OctetsAttribute

      public OctetsAttribute​(Dictionary dictionary, int vendorId, int type, byte[] value)
      Parameters:
      dictionary - dictionary to use
      vendorId - vendor ID or -1
      type - attribute type code
      value - value of attribute as byte array, excluding type and length bytes
    • OctetsAttribute

      public OctetsAttribute​(Dictionary dictionary, int vendorId, int type, java.lang.String value)
      Parameters:
      dictionary - dictionary to use
      vendorId - vendor ID or -1
      type - attribute type code
      value - value of attribute as hex string
  • Method Details