Documentation ¶
Index ¶
Constants ¶
View Source
const ( // JWKKeyType for es384. JWKKeyType = "EC" // JWKCurve for es384. JWKCurve = "P-384" // JWTAlg for es384. JWTAlg = "ES384" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proof ¶
type Proof struct {
// contains filtered or unexported fields
}
Proof describes es384 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.