DerUtils class

Constructors

DerUtils()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

decodeOid(List<int> bytes) → String
derBitString(List<int> bytes, {int unusedBits = 0}) → BuBytes
derContext(int tagNumber, List<int> content) → BuBytes
derInteger(List<int> bytes) → BuBytes
DER INTEGER encoding: minimal length, big-endian, with a leading 0x00 inserted whenever the high bit of the first byte is set (so the value is never mistaken for negative under two's-complement rules).
derNull() → BuBytes
derOctetString(List<int> bytes) → BuBytes
derOid(String oid) → BuBytes
derSequence(List<int> children) → BuBytes
derSmallInt(int value) → BuBytes
derTlv(int tag, List<int> value) → BuBytes
derToPem(List<int> der, String label) → String
encodeOid(String oid) → BuBytes
pemToDer(String pem) → BuBytes