Package org.webpki.asn1
Class Composite
java.lang.Object
org.webpki.asn1.BaseASN1Object
org.webpki.asn1.Composite
- All Implemented Interfaces:
ASN1Constants
- Direct Known Subclasses:
ASN1Sequence
,ASN1Set
,CompositeContextSpecific
-
Field Summary
Fields inherited from interface org.webpki.asn1.ASN1Constants
APPLICATION, BITSTRING, BMPSTRING, BOOLEAN, CLASS_MASK, CONSTRUCTED, CONTEXT, EMBEDDED_PDV, ENUMERATED, EOC, EXTERNAL, FORM_MASK, GENERALIZEDTIME, GENERALSTRING, GRAPHICSTRING, IA5STRING, INTEGER, NULL, NUMERICSTRING, OBJDESCRIPTOR, OCTETSTRING, OID, PRIMITIVE, PRINTABLESTRING, PRIVATE, REAL, SEQUENCE, SET, T61STRING, TAG_MASK, UNIVERSAL, UNIVERSALSTRING, UTCTIME, UTF8STRING, VIDEOTEXSTRING, VISIBLESTRING
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
diff
(BaseASN1Object o, StringBuilder s, String prefix) byte[]
encode()
void
get
(int i) int
size()
Methods inherited from class org.webpki.asn1.BaseASN1Object
debug, diff, encode, encodeContent, encodedAsOctetString, get, sameType, tagNumber, toString, toString
-
Method Details
-
components
-
size
public int size() -
get
- Overrides:
get
in classBaseASN1Object
-
encode
- Specified by:
encode
in classBaseASN1Object
-
encode
public byte[] encode()- Overrides:
encode
in classBaseASN1Object
-
deepCompare
- Specified by:
deepCompare
in classBaseASN1Object
-
diff
- Specified by:
diff
in classBaseASN1Object
-