Documentation ¶
Index ¶
Constants ¶
View Source
const ( //JWKKeyType for rsa proof. JWKKeyType = "RSA" //JWTAlg for rsa proof. JWTAlg = "RS256" )
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 ¶
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.