Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratePEMs ¶
GeneratePEMs generates a PEM-formatted pair of RSA public and private keys of size 3072 bits.
func NewSigner ¶
func NewSigner(pk crypto.Signer) (signatures.Signer, error)
NewSigner creates a signer object from a private key.
func NewVerifier ¶
func NewVerifier(pk *rsa.PublicKey) (signatures.Verifier, error)
NewVerifier creates a verifier from an RSA public key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.