Documentation ¶
Index ¶
Constants ¶
View Source
const ( // VerificationMethodType of eddsa. VerificationMethodType = "Ed25519VerificationKey2018" // JWKKeyType of eddsa. JWKKeyType = "OKP" // JWKCurve of eddsa. JWKCurve = "Ed25519" // JWTAlg of eddsa. JWTAlg = "EdDSA" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proof ¶
type Proof struct {
// contains filtered or unexported fields
}
Proof describes ed25519 proof type.
func (*Proof) CWTAlgorithm ¶ added in v1.1.1
func (s *Proof) CWTAlgorithm() cose.Algorithm
CWTAlgorithm return cwt algorithm that corresponds to VerificationMethod.
func (*Proof) JWTAlgorithm ¶
JWTAlgorithm return jwt alg that corresponds to VerificationMethod.
func (*Proof) SupportedVerificationMethods ¶
func (s *Proof) SupportedVerificationMethods() []proof.SupportedVerificationMethod
SupportedVerificationMethods returns list of verification methods supported by this proof type.
Click to show internal directories.
Click to hide internal directories.