Documentation ¶
Overview ¶
Package ecdsa implements ECDSA operations as described in the specifications at §23 (https://www.w3.org/TR/WebCryptoAPI/#ecdsa).
Index ¶
Constants ¶
View Source
const ( P256 string = "P-256" P384 string = "P-384" P521 string = "P-521" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CryptoKey ¶
type CryptoKey struct {
// contains filtered or unexported fields
}
CryptoKey represents an ECDSA cryptography key.
func (*CryptoKey) Extractable ¶
type KeyAlgorithm ¶
type KeyAlgorithm struct {
// contains filtered or unexported fields
}
KeyAlgorithm is the implementation of the dictionary specificationn at §23.5 (https://www.w3.org/TR/WebCryptoAPI/#dfn-EcKeyAlgorithm)
func (*KeyAlgorithm) Name ¶
func (k *KeyAlgorithm) Name() string
func (*KeyAlgorithm) NamedCurve ¶
func (k *KeyAlgorithm) NamedCurve() string
type KeyGenParams ¶
type KeyGenParams struct {
NamedCurve string
}
type KeyImportParams ¶
type KeyImportParams struct {
NamedCurve string
}
Click to show internal directories.
Click to hide internal directories.