Package com.oss.asn1
Class HugeOctetString
java.lang.Object
com.oss.asn1.AbstractData
com.oss.asn1.HugeBinaryString
com.oss.asn1.HugeOctetString
- All Implemented Interfaces:
com.oss.asn1.Sizeable
,Serializable
,Cloneable
- Direct Known Subclasses:
HugeContainingOctetString
The HugeOctetString class represents an OCTET STRING with the ValueInFile
directive applied.
- Since:
- ASN.1/Java 1.4 beta A
- See Also:
-
Field Summary
Fields inherited from class com.oss.asn1.AbstractData
EQUALS, GREATER_THAN, LESS_THAN
-
Constructor Summary
ConstructorsConstructorDescriptionThe default constructor.HugeOctetString
(ByteStorage value) Construct from a ByteStorage object. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
equalTo
(HugeOctetString that) Compare 'this' object to another HugeOctetString object to see if their contents are the same.final int
getSize()
Get the number of octets in the HugeOctetString.Methods inherited from class com.oss.asn1.HugeBinaryString
byteStorageValue, clone, delete, setValue
Methods inherited from class com.oss.asn1.AbstractData
equals, hashCode, isEncodable, isPDU, isValid, toString, toString
-
Constructor Details
-
HugeOctetString
public HugeOctetString()The default constructor. -
HugeOctetString
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 interfacecom.oss.asn1.Sizeable
- Returns:
- integer value indicating the number of octets.
-
equalTo
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.
-