Package com.oss.asn1

Class HugeOctetString

All Implemented Interfaces:
com.oss.asn1.Sizeable, Serializable, Cloneable
Direct Known Subclasses:
HugeContainingOctetString

public class HugeOctetString extends HugeBinaryString implements com.oss.asn1.Sizeable
The HugeOctetString class represents an OCTET STRING with the ValueInFile directive applied.
Since:
ASN.1/Java 1.4 beta A
See Also:
  • Constructor Details

    • HugeOctetString

      public HugeOctetString()
      The default constructor.
    • HugeOctetString

      public HugeOctetString(ByteStorage value)
      Construct from a ByteStorage object.
      Parameters:
      value - the ByteStorage to set 'this' object to.
  • Method Details

    • getSize

      public final int getSize()
      Get the number of octets in the HugeOctetString.
      Specified by:
      getSize in interface com.oss.asn1.Sizeable
      Returns:
      integer value indicating the number of octets.
    • equalTo

      public final boolean equalTo(HugeOctetString that)
      Compare 'this' object to another HugeOctetString object to see if their contents are the same.
      Parameters:
      that - the HugeOctetString object to compare 'this' object to.
      Returns:
      true if contents of both objects are the same.