static Asn1Writer |
Asn1.getWriter() |
Returns an ASN.1 writer with an initial capacity of 32 bytes.
|
static Asn1Writer |
Asn1.getWriter(int initialCapacity) |
Returns an ASN.1 writer with the provided initial capacity.
|
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(ByteString asn1Element) |
Writes exactly the provided byte string without encoding the data.
|
Asn1Writer |
Asn1Writer.writeBitString(byte type,
BitSet value) |
Writes the provided bitSet as a bitstring, the trailing zero bits are encoded as unused, using the
provided type tag.
|
Asn1Writer |
Asn1Writer.writeBitString(byte type,
ByteString value) |
Writes the provided bit string with zero unused bits using the provided type tag.
|
Asn1Writer |
Asn1Writer.writeBitString(BitSet value) |
Writes the provided bitSet as a bit string, the trailing zero bits are encoded as unused, using
the Universal Bit String ASN.1 type tag.
|
Asn1Writer |
Asn1Writer.writeBitString(ByteString value) |
Writes the provided bit string with zero unused bits using the Universal Bit String ASN.1 type tag.
|
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.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.writeExplicitTag(byte type) |
Writes an explicit tag element.
|
Asn1Writer |
Asn1Writer.writeExplicitTag(long type) |
|
Asn1Writer |
Asn1Writer.writeGeneralizedTime(byte type,
Instant value) |
Writes a generalized time without fractional seconds, using the provided type tag.
|
Asn1Writer |
Asn1Writer.writeGeneralizedTime(Instant value) |
Writes a generalized time without fractional seconds, using the Universal Generalized Time ASN.1 type tag.
|
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(byte type,
BigInteger value) |
Writes an integer element from the provided BigInteger 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.writeInteger(BigInteger value) |
Writes an integer element from the provided BigInteger value using the Universal Integer ASN.1 type tag.
|
Asn1Writer |
Asn1Writer.writeName(byte type,
Dn value) |
Writes the X.501 type Name as an RDN sequence with the provided type tag.
|
Asn1Writer |
Asn1Writer.writeName(Dn value) |
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(byte type,
String oid) |
Writes the provided object identifier with the provided type tag.
|
Asn1Writer |
Asn1Writer.writeObjectIdentifier(String oid) |
Writes the provided object identifier using the Universal Object Identifier type tag.
|
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,
ByteString 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(ByteString value) |
Writes an octet string element using the Universal Octet String ASN.1 type tag.
|
Asn1Writer |
Asn1Writer.writeSequence() |
Writes a sequence element using the Universal Sequence ASN.1 type tag.
|
Asn1Writer |
Asn1Writer.writeSequence(byte type) |
Writes a sequence element using the provided type tag.
|
Asn1Writer |
Asn1Writer.writeSequenceOfOctetStrings(Collection<ByteString> 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.writeSet() |
Writes a set element using the Universal Set ASN.1 type tag.
|
Asn1Writer |
Asn1Writer.writeSet(byte type) |
Writes a set element using the provided type tag.
|
Asn1Writer |
Asn1Writer.writeSetOfOctetStrings(Collection<ByteString> 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.writeUtcTime(byte type,
Instant value) |
Writes a UTCTime without fractional seconds using the provided type tag.
|
Asn1Writer |
Asn1Writer.writeUtcTime(Instant value) |
Writes a UTC time without fractional seconds using the Universal UTC Time ASN.1 type tag.
|