Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SignatureAlgorithm_ECDSA = "http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"
View Source
var SignatureAlgorithm_RSA = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"
Functions ¶
Types ¶
type SignChecker ¶
SignChecker is the interface allowing the verification of a signature
func NewSignChecker ¶
func NewSignChecker(certData []byte, certType string) (SignChecker, error)
NewSignChecker creates a new signature checker, which depends on the certificate type (RSA or ECDSA)
Click to show internal directories.
Click to hide internal directories.