Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type COSEPublicKey ¶
type COSEPublicKey interface{}
func ParseCOSEKey ¶
func ParseCOSEKey(cose []byte) (pkdata COSEPublicKey, err error)
type EC2 ¶
type EC2 struct {
PKMetadata
Curve int64 `cbor:"-1,keyasint,omitempty"`
X []byte `cbor:"-2,keyasint,omitempty"`
Y []byte `cbor:"-3,keyasint,omitempty"`
}
type OKP ¶
type OKP struct {
PKMetadata
Curve int64 `cbor:"-1,keyasint,omitempty"`
X []byte `cbor:"-2,keyasint,omitempty"`
}
type PKMetadata ¶
type RSA ¶
type RSA struct {
PKMetadata
Modulus []byte `cbor:"-1,keyasint,omitempty"`
Exponent []byte `cbor:"-3,keyasint,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.