Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Pem2PublicKey ¶
Pem2PublicKey converts a PEM-encoded public key to an *rsa.PublicKey.
func SHA256Sign ¶
func SHA256Sign(privateKey *rsa.PrivateKey, content []byte) ([]byte, error)
SHA256Sign signs a message using an RSA private key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.