rs256

package
v0.0.0-...-bd860cc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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 New

func New() *Proof

New an instance of ed25519 proof type descriptor.

func (*Proof) CWTAlgorithm

func (s *Proof) CWTAlgorithm() cose.Algorithm

CWTAlgorithm return cwt algorithm that corresponds to VerificationMethod.

func (*Proof) JWTAlgorithm

func (s *Proof) JWTAlgorithm() string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL