Common types for the package

Interfaces

I
JWKeyPair
No documentation available
I
KeyOptions

Options to specify details for keys, i.e., the underlying algorithms.

I
OutputOptions

Options for the output of signing/verifying and for encryption/decryption.

Type Aliases

T
BaseEncoding

Base encoding alternatives

T
Crv

Elliptic curves that are used for this package.

T
CryptoPublicKey

Used to overload the key argument for verify and encrypt operations

T
CryptoSecretKey

Used to overload the key argument for sign and decrypt operations. Note that a plain Multibase is not an option; the multikey secret key alone may not contain all necessary information.

T
HashAlgorithm

Crypto hash values that are used for this package. "SHA-256" is the usual default.