Documentation
¶
Index ¶
Constants ¶
View Source
const BITSIZE = 2048
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyHandler ¶
type KeyHandler interface { // Export the private key in PEM form to the given path Export(path string) error // Sign the given data and return the signature and the digest Sign(data []byte) (signature []byte, digest []byte, signErr error) // Verify the signature of the given checksum Verify(checksum []byte, signature []byte) error }
Click to show internal directories.
Click to hide internal directories.