Package org.apache.harmony.security.asn1
Class ASN1BitString.ASN1NamedBitList
java.lang.Object
org.apache.harmony.security.asn1.ASN1Type
org.apache.harmony.security.asn1.ASN1StringType
org.apache.harmony.security.asn1.ASN1BitString
org.apache.harmony.security.asn1.ASN1BitString.ASN1NamedBitList
- All Implemented Interfaces:
ASN1Constants
- Enclosing class:
- ASN1BitString
public static class ASN1BitString.ASN1NamedBitList extends ASN1BitString
Default implementation for ASN.1 Named Bitstring type
The default implementation works with encoding
that is mapped to array of boolean.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.harmony.security.asn1.ASN1BitString
ASN1BitString.ASN1NamedBitList -
Field Summary
Fields inherited from class org.apache.harmony.security.asn1.ASN1StringType
BMPSTRING, GENERALSTRING, IA5STRING, PRINTABLESTRING, TELETEXSTRING, UNIVERSALSTRING, UTF8STRINGFields inherited from interface org.apache.harmony.security.asn1.ASN1Constants
CLASS_APPLICATION, CLASS_CONTEXTSPECIFIC, CLASS_PRIVATE, CLASS_UNIVERSAL, PC_CONSTRUCTED, PC_PRIMITIVE, TAG_ANY, TAG_BITSTRING, TAG_BMPSTRING, TAG_BOOLEAN, TAG_C_BITSTRING, TAG_C_GENERALIZEDTIME, TAG_C_OCTETSTRING, TAG_C_SEQUENCE, TAG_C_SEQUENCEOF, TAG_C_SET, TAG_C_SETOF, TAG_C_UTCTIME, TAG_C_UTF8STRING, TAG_CHOICE, TAG_EMBEDDEDPDV, TAG_ENUM, TAG_EXTERNAL, TAG_GENERALIZEDTIME, TAG_GENERALSTRING, TAG_GRAPHICSTRING, TAG_IA5STRING, TAG_INSTANCEOF, TAG_INTEGER, TAG_ISO646STRING, TAG_NULL, TAG_NUMERICSTRING, TAG_OBJDESCRIPTOR, TAG_OCTETSTRING, TAG_OID, TAG_PRINTABLESTRING, TAG_REAL, TAG_RELATIVEOID, TAG_SEQUENCE, TAG_SEQUENCEOF, TAG_SET, TAG_SETOF, TAG_T61STRING, TAG_TELETEXSTRING, TAG_UNIVERSALSTRING, TAG_UTCTIME, TAG_UTF8STRING, TAG_VIDEOTEXSTRING, TAG_VISIBLESTRING -
Constructor Summary
Constructors Constructor Description ASN1NamedBitList(int minBits) -
Method Summary
Modifier and Type Method Description ObjectgetDecodedObject(BerInputStream in)Extracts BitString object from BER input stream.voidsetEncodingContent(BerOutputStream out)Methods inherited from class org.apache.harmony.security.asn1.ASN1BitString
decode, encodeContent, getInstanceMethods inherited from class org.apache.harmony.security.asn1.ASN1StringType
checkTag, encodeASN
-
Constructor Details
-
ASN1NamedBitList
public ASN1NamedBitList(int minBits)
-
-
Method Details
-
getDecodedObject
Description copied from class:ASN1BitStringExtracts BitString object from BER input stream.- Overrides:
getDecodedObjectin classASN1BitString- Parameters:
in- - BER input stream- Returns:
- BitString object
- Throws:
IOException
-
setEncodingContent
- Overrides:
setEncodingContentin classASN1BitString
-