Documentation
¶
Overview ¶
Package ecdsa implements the spec-k256 curve signature.
Index ¶
Constants ¶
View Source
const ( // PrivateKeyFileType is the PEM type for a private key. PrivateKeyFileType = "ECDSA PRIVATE KEY" // PublicKeyFileType is the PEM type for a public key. PublicKeyFileType = "ECDSA PUBLIC KEY" )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() modules.CryptoBase
New returns a new instance of the ECDSA CryptoBase implementation.
Types ¶
type Signature ¶
type Signature struct {
// contains filtered or unexported fields
}
Signature is an ECDSA signature.
func RestoreSignature ¶ added in v0.3.0
RestoreSignature restores an existing signature. It should not be used to create new signatures, use Sign instead.
Click to show internal directories.
Click to hide internal directories.