public class BERSet extends DERSet
BER, DER
APPLICATION, BIT_STRING, BMP_STRING, BOOLEAN, CONSTRUCTED, ENUMERATED, EXTERNAL, GENERAL_STRING, GENERALIZED_TIME, GRAPHIC_STRING, IA5_STRING, INTEGER, NULL, NUMERIC_STRING, OBJECT_IDENTIFIER, OCTET_STRING, PRINTABLE_STRING, SEQUENCE, SEQUENCE_OF, SET, SET_OF, T61_STRING, TAGGED, UNIVERSAL_STRING, UTC_TIME, UTF8_STRING, VIDEOTEX_STRING, VISIBLE_STRING
Constructor and Description |
---|
BERSet()
create an empty sequence
|
BERSet(DEREncodable obj)
create a set containing one object
|
BERSet(DEREncodableVector v) |
BERSet(DEREncodableVector v,
boolean needsSorting) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
encode(DEROutputStream out) |
addObject, asn1Equals, getInstance, getInstance, getObjectAt, getObjects, hashCode, parser, size, sort, toString
equals, fromByteArray
toASN1Object
getDEREncoded, getDERObject, getEncoded, getEncoded
public BERSet()
public BERSet(DEREncodable obj)
public BERSet(DEREncodableVector v)
v
- - a vector of objects making up the set.BERSet(DEREncodableVector v, boolean needsSorting)
v
- - a vector of objects making up the set.void encode(DEROutputStream out) throws java.io.IOException