Package com.oss.asn1
Class HugeRelaySafeChoice
java.lang.Object
com.oss.asn1.AbstractData
com.oss.asn1.Choice
com.oss.asn1.HugeRelaySafeChoice
- All Implemented Interfaces:
Serializable
,Cloneable
The HugeRelaySafeChoice class represents the ASN.1 CHOICE type but has the
additional ability to store unknown extensions and make them available for
further relaying. Unlike the RelaySafeChoice class, it stores an unknown
extension in a ByteStorage object. This class is used when the -relaySafe
compiler option has been invoked and the ValueInfFile directive has been
used. Not using the directive when there are huge unknown extensions to
be relayed can cause an OutOfMemoryError error.
- 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
-
Method Summary
Methods inherited from class com.oss.asn1.Choice
equalTo, getChosenFlag, getChosenValue, hashCode, hasUnknownExtension
Methods inherited from class com.oss.asn1.AbstractData
equals, getTypeInfo, isEncodable, isPDU, isValid, toString, toString
-
Method Details
-
clone
Clone 'this' object. -
delete
public void delete()Destroy the instance of the AbstractData. The contract of this method is to facilitate garbage collection by explicit destruction of the data that is no longer needed.
-