The HugeRelaySafeSequence class represents the ASN.1 SEQUENCE type but has the additional ability to store unknown extensions and make them available to the coder for further relaying. Unlike the RelaySafeSequence class, it stores unknown extensions in a ByteStorage object, thus allowing huge unknown extensions to be relayed without causing an OutOfMemoryError error. This class is used when the -relaySafe compiler option has been invoked and the ValueInfFile directive has been used.
- ASN.1/Java 1.4 beta A
- See Also:
Method SummaryModifier and TypeMethodDescription
clone()Clone 'this' object.
delete()Destroy the instance of the AbstractData.
final intReturns number of unknown extensions available for relaying.
final voidRemoves all unknown extensions that were saved for relaying.
Methods inherited from class com.oss.asn1.AbstractData
equals, getTypeInfo, isEncodable, isPDU, isValid, toString, toString
numberOfUnknownExtensionspublic final int numberOfUnknownExtensions()Returns number of unknown extensions available for relaying.
removeAllUnknownExtensionspublic final void removeAllUnknownExtensions()Removes all unknown extensions that were saved for relaying.
clonepublic Object clone()Clone 'this' object.
deletepublic 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.