EcdsaSignature

Represents an ECDSA signature.

This class encapsulates the components of an ECDSA signature, which include the 'r' and 's' values as byte arrays, a 'v' recovery id, and the signature in DER encoding. The 'r' and 's' components are the main parts of the signature, 'v' is used to recover the public key from the signature, and the DER encoding is used for compatibility with systems that require the signature in ASN.1/DER format.

Properties

Link copied to clipboard

The signature encoded in DER format.

Link copied to clipboard

The 'r' component of the signature.

Link copied to clipboard

The 's' component of the signature.

Link copied to clipboard
val v: Byte

The recovery id, useful for recovering the public key from the signature.