Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Input ¶
Input taks a given privateKeyPath and input byte array and produces a cryptographic signature of the input. A base64-encoded signature is returned.
func ReadPrivateKey ¶
func ReadPrivateKey(privateKeyPath string) (*rsa.PrivateKey, error)
ReadPrivateKey reads RSA key from provided path on-disk
func Sha256HashOfInput ¶
Sha256HashOfInput takes an RSA private key and already-populated Hash of file content and produces a signature string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.