Documentation ¶
Index ¶
- func BytesDigest(data []byte, algo string) ([]byte, error)
- func FileDigest(path, algo string) ([]byte, error)
- func GetCertDigest(certfile string) ([]byte, string, error)
- func GetHashAlgoFromCert(certfile string) (string, error)
- func Sign(message []byte, certFile, keyFile string) ([]byte, error)
- func Verify(message, sig []byte, certFile string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileDigest ¶
func GetHashAlgoFromCert ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.