Documentation
¶
Index ¶
- Constants
- type MultiKey
- func (m MultiKey) Controller() string
- func (m MultiKey) ID() string
- func (m MultiKey) JsonLdContext() string
- func (m MultiKey) KeyExchange(local crypto.PrivateKeyKeyExchange) ([]byte, error)
- func (m MultiKey) MarshalJSON() ([]byte, error)
- func (m MultiKey) PrivateKeyIsCompatible(local crypto.PrivateKeyKeyExchange) bool
- func (m MultiKey) Type() string
- func (m *MultiKey) UnmarshalJSON(bytes []byte) error
- func (m MultiKey) VerifyASN1(data []byte, sig []byte, opts ...crypto.SigningOption) (bool, error)
- func (m MultiKey) VerifyBytes(data []byte, sig []byte, opts ...crypto.SigningOption) (bool, error)
Constants ¶
View Source
const ( // This is apparently the right context despite the spec above saying otherwise. JsonLdContext = "https://w3id.org/security/multikey/v1" Type = "Multikey" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MultiKey ¶
type MultiKey struct {
// contains filtered or unexported fields
}
func NewMultiKey ¶
func (MultiKey) Controller ¶
func (MultiKey) JsonLdContext ¶
func (MultiKey) KeyExchange ¶
func (m MultiKey) KeyExchange(local crypto.PrivateKeyKeyExchange) ([]byte, error)
func (MultiKey) MarshalJSON ¶
func (MultiKey) PrivateKeyIsCompatible ¶
func (m MultiKey) PrivateKeyIsCompatible(local crypto.PrivateKeyKeyExchange) bool
func (*MultiKey) UnmarshalJSON ¶
func (MultiKey) VerifyASN1 ¶
func (MultiKey) VerifyBytes ¶
Click to show internal directories.
Click to hide internal directories.