static Asn1Writer |
Asn1.getWriter(OutputStream stream) |
Returns an ASN.1 writer whose destination is the provided output stream.
|
static Asn1Writer |
Asn1.getWriter(OutputStream stream,
int maxBufferSize) |
Returns an ASN.1 writer whose destination is the provided output stream.
|
static Asn1Writer |
Asn1.getWriter(ByteStringBuilder builder) |
Returns an ASN.1 writer whose destination is the provided byte string
builder.
|
static Asn1Writer |
Asn1.getWriter(ByteStringBuilder builder,
int maxBufferSize) |
Returns an ASN.1 writer whose destination is the provided byte string
builder.
|
Asn1Writer |
Asn1Writer.writeAsn1Element(byte[] asn1Element) |
Writes exactly the provided bytes without encoding the data.
|
Asn1Writer |
Asn1Writer.writeAsn1Element(byte[] asn1Element,
int offset,
int length) |
Writes exactly the provided bytes without encoding the data.
|
Asn1Writer |
Asn1Writer.writeAsn1Element(ByteSequence asn1Element) |
Writes exactly the provided byte sequence without encoding the data.
|
Asn1Writer |
Asn1Writer.writeBigInteger(byte type,
BigInteger value) |
Writes an integer element from the provided BigInteger using the provided type tag.
|
Asn1Writer |
Asn1Writer.writeBigInteger(BigInteger value) |
Writes an integer element from the provided BigInteger value using the Universal Integer ASN.1 type tag.
|
Asn1Writer |
Asn1Writer.writeBitString(byte[] value) |
Writes the provided byte array as a bitstring, as is, with zero unused bits.
|
Asn1Writer |
Asn1Writer.writeBitString(BitSet bitSet) |
Writes the provided bitSet as a bitstring, the trailing zero bits are encoded as unused.
|
Asn1Writer |
Asn1Writer.writeBoolean(boolean value) |
Writes a boolean element using the Universal Boolean ASN.1 type tag.
|
Asn1Writer |
Asn1Writer.writeBoolean(byte type,
boolean value) |
Writes a boolean element using the provided type tag.
|
Asn1Writer |
Asn1Writer.writeEndExplicitTag() |
Finishes writing elements within the explicit tag.
|
Asn1Writer |
Asn1Writer.writeEndSequence() |
Finishes writing a sequence element.
|
Asn1Writer |
Asn1Writer.writeEndSet() |
Finishes writing a set element.
|
Asn1Writer |
Asn1Writer.writeEnumerated(byte type,
int value) |
Writes an enumerated element using the provided type tag.
|
Asn1Writer |
Asn1Writer.writeEnumerated(int value) |
Writes an enumerated element using the Universal Enumerated ASN.1 type tag.
|
Asn1Writer |
Asn1Writer.writeGeneralizedTime(Instant time) |
Writes a GeneralizedTime without fractional seconds.
|
Asn1Writer |
Asn1Writer.writeInteger(byte type,
int value) |
Writes an integer element using the provided type tag.
|
Asn1Writer |
Asn1Writer.writeInteger(byte type,
long value) |
Writes an integer element using the provided type tag.
|
Asn1Writer |
Asn1Writer.writeInteger(int value) |
Writes an integer element using the Universal Integer ASN.1 type tag.
|
Asn1Writer |
Asn1Writer.writeInteger(long value) |
Writes an integer element using the Universal Integer ASN.1 type tag.
|
Asn1Writer |
Asn1Writer.writeName(Dn dn) |
Writes the X.501 type Name as an RDN sequence.
|
Asn1Writer |
Asn1Writer.writeNull() |
Writes a null element using the Universal Null ASN.1 type tag.
|
Asn1Writer |
Asn1Writer.writeNull(byte type) |
Writes a null element using the provided type tag.
|
Asn1Writer |
Asn1Writer.writeObjectIdentifier(String oid) |
Writes the provided object identifier.
|
Asn1Writer |
Asn1Writer.writeOctetString(byte[] value) |
Writes an octet string element using the Universal Octet String ASN.1 type tag.
|
Asn1Writer |
Asn1Writer.writeOctetString(byte[] value,
int offset,
int length) |
Writes an octet string element using the Universal Octet String ASN.1 type tag.
|
Asn1Writer |
Asn1Writer.writeOctetString(byte type,
byte[] value) |
Writes an octet string element using the provided type tag.
|
Asn1Writer |
Asn1Writer.writeOctetString(byte type,
byte[] value,
int offset,
int length) |
Writes an octet string element using the provided type tag.
|
Asn1Writer |
Asn1Writer.writeOctetString(byte type,
CharSequence value) |
Writes a string as a UTF-8 encoded octet string element using the provided type tag.
|
Asn1Writer |
Asn1Writer.writeOctetString(byte type,
ByteSequence value) |
Writes an octet string element using the provided type tag.
|
Asn1Writer |
Asn1Writer.writeOctetString(CharSequence value) |
Writes a string as a UTF-8 encoded octet string element using the Universal Octet String ASN.1 type tag.
|
Asn1Writer |
Asn1Writer.writeOctetString(ByteSequence value) |
Writes an octet string element using the Universal Octet String ASN.1 type tag.
|
Asn1Writer |
Asn1Writer.writeSequenceOfOctetStrings(Collection<? extends ByteSequence> values) |
Writes a sequence of octet string elements using the Universal Sequence ASN.1 type tag for the sequence and
Universal Octet String ASN.1 type tag for the elements.
|
Asn1Writer |
Asn1Writer.writeSequenceOfUtf8OctetStrings(Collection<? extends CharSequence> values) |
Writes a sequence of strings as a sequence of UTF-8 encoded octet string elements using the Universal Sequence
ASN.1 type tag for the sequence and Universal Octet String ASN.1 type tag for the elements.
|
Asn1Writer |
Asn1Writer.writeSetOfOctetStrings(Collection<? extends ByteSequence> values) |
Writes a set of octet string elements using the Universal Set ASN.1 type tag for the set and Universal Octet
String ASN.1 type tag for the elements.
|
Asn1Writer |
Asn1Writer.writeSetOfUtf8OctetStrings(Collection<? extends CharSequence> values) |
Writes a set of strings as a set of UTF-8 encoded octet string elements using the Universal Set ASN.1 type tag
for the set and Universal Octet String ASN.1 type tag for the elements.
|
Asn1Writer |
Asn1Writer.writeStartExplicitTag(byte type) |
Writes an explicit tag element.
|
Asn1Writer |
Asn1Writer.writeStartSequence() |
Writes a sequence element using the Universal Sequence ASN.1 type tag.
|
Asn1Writer |
Asn1Writer.writeStartSequence(byte type) |
Writes a sequence element using the provided type tag.
|
Asn1Writer |
Asn1Writer.writeStartSet() |
Writes a set element using the Universal Set ASN.1 type tag.
|
Asn1Writer |
Asn1Writer.writeStartSet(byte type) |
Writes a set element using the provided type tag.
|
Asn1Writer |
Asn1Writer.writeUtcTime(Instant time) |
Writes a UTCTime without fractional seconds.
|