Functions

Link copied to clipboard

Convenience method, directly DER-decoding a byte array to T

Link copied to clipboard
Link copied to clipboard

Safe version of decodeFromDer, wrapping the result into a KmmResult

Link copied to clipboard

Processes an A, parsing it into an instance of T

Link copied to clipboard
Link copied to clipboard

Safe version of decodeFromTlv, wrapping the result into a KmmResult

Link copied to clipboard

load CryptoSignature from raw byte array (r and s concatenated)

load from raw byte array (r and s concatenated), asserting that the size fits this particular curve

Link copied to clipboard
fun fromRS(r: BigInteger, s: BigInteger): CryptoSignature.EC.IndefiniteLength
Link copied to clipboard
Link copied to clipboard

Parses a signature produced by the JCA digestwithECDSA algorithm.

Link copied to clipboard

Parses a signature produced by the JCA digestWithECDSAinP1363Format algorithm.