package
1.3.2
Repository: https://github.com/ldclabs/cose.git
Documentation: pkg.go.dev

# Functions

CheckKey checks whether the given key is a valid ECDSA key.
DecodeSignature decodes (r, s) from a signature bytes using the method specified by RFC 8152 section 8.1.
EncodeSignature encodes (r, s) into a signature bytes using the method specified by RFC 8152 section 8.1.
GenerateKey generates a new Key with given algorithm for ECDSA.
KeyFromPrivate returns a private Key with given ecdsa.PrivateKey.
KeyFromPublic returns a public Key with given ecdsa.PublicKey.
KeyToPrivate returns a ecdsa.PrivateKey for the given Key.
KeyToPublic returns a ecdsa.PublicKey for the given key.Key.
NewSigner creates a key.Signer for the given private key.
NewVerifier creates a key.Verifier for the given public key.
ToCompressedKey converts the given key to a compressed Key.
ToPublicKey converts the given private key to a public key.