Documentation
¶
Index ¶
- Constants
- type Key2021
- func (m Key2021) Controller() string
- func (m Key2021) ID() string
- func (m Key2021) JsonLdContext() string
- func (m Key2021) KeyExchange(local crypto.PrivateKeyKeyExchange) ([]byte, error)
- func (m Key2021) MarshalJSON() ([]byte, error)
- func (m Key2021) PrivateKeyIsCompatible(local crypto.PrivateKeyKeyExchange) bool
- func (m Key2021) Type() string
- func (m *Key2021) UnmarshalJSON(bytes []byte) error
- func (m Key2021) VerifyASN1(data []byte, sig []byte, opts ...crypto.SigningOption) (bool, error)
- func (m Key2021) VerifyBytes(data []byte, sig []byte, opts ...crypto.SigningOption) (bool, error)
Constants ¶
View Source
const ( JsonLdContext2021 = "https://w3id.org/security/suites/multikey-2021/v1" Type2021 = "P256Key2021" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key2021 ¶
type Key2021 struct {
// contains filtered or unexported fields
}
func (Key2021) Controller ¶
func (Key2021) JsonLdContext ¶
func (Key2021) KeyExchange ¶
func (m Key2021) KeyExchange(local crypto.PrivateKeyKeyExchange) ([]byte, error)
func (Key2021) MarshalJSON ¶
func (Key2021) PrivateKeyIsCompatible ¶
func (m Key2021) PrivateKeyIsCompatible(local crypto.PrivateKeyKeyExchange) bool
func (*Key2021) UnmarshalJSON ¶
func (Key2021) VerifyASN1 ¶
func (Key2021) VerifyBytes ¶
Click to show internal directories.
Click to hide internal directories.