pasn
Interface ASN1PrimitiveOrConstructedObject<T>
- Type Parameters:
T
-
- All Superinterfaces:
- ASN1ConstructedObject, ASN1DefaultValuedObject, ASN1EncodingSpecificObject, ASN1GenericObject, ASN1PrimitiveObject<T>, ASN1Resetable
- All Known Implementing Classes:
- ASN1BitString, ASN1OctetString, ASN1UnformedOrderedObject
public interface ASN1PrimitiveOrConstructedObject<T>
- extends ASN1PrimitiveObject<T>, ASN1ConstructedObject
- Author:
- ncottin
isPrimitive
boolean isPrimitive()
getValueLength
int getValueLength()
- Returns:
- The number of octets of the current value or
0 if no value
getDefaultValueLength
int getDefaultValueLength()
- Returns:
- The number of octets of the current default value or
0 if no default value
getConstructedValues
java.util.Collection<ASN1PrimitiveObject> getConstructedValues(int maxSize)
throws ASN1ConstraintException
- Throws:
ASN1ConstraintException
setConstructedValues
void setConstructedValues(java.util.Collection<ASN1PrimitiveOrConstructedObject> values)
throws ASN1DecodingException,
ASN1ConstraintException,
java.lang.ClassCastException
- Throws:
ASN1DecodingException
ASN1ConstraintException
java.lang.ClassCastException
newInstance
ASN1PrimitiveOrConstructedObject newInstance()