Constructors

Link copied to clipboard
constructor(rawBytes: ByteArray)
constructor(x509Element: Asn1Primitive)

Types

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

In Java EC signatures are returned as DER-encoded, RSA signatures however are raw bytearrays

Link copied to clipboard
open override val rawByteArray: ByteArray

the raw bytes of the signature value

Link copied to clipboard

the signature encoded as an ASN.1 BIT STRING

Link copied to clipboard

Signature encoded as per X.509:

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun encodeToDerSafe(): KmmResult<ByteArray>
Link copied to clipboard
open override fun encodeToTlv(): Asn1Primitive
Link copied to clipboard
Link copied to clipboard
open fun encodeToTlvSafe(): KmmResult<Asn1Element>
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open infix fun withImplicitTag(tagValue: ULong): Asn1Element