package
0.0.0-20230713040001-a8d6daaf8143
Repository: https://github.com/extrame/jose.git
Documentation: pkg.go.dev

# Functions

ParseECPrivateKeyFromPEM will parse a PEM encoded EC Private Key Structure.
ParseECPublicKeyFromPEM will parse a PEM encoded PKCS1 or PKCS8 public key.
ParseRSAPrivateKeyFromPEM parses a PEM encoded PKCS1 or PKCS8 private key.
ParseRSAPublicKeyFromPEM parses PEM encoded PKCS1 or PKCS8 public key.

# Variables

ErrECDSAVerification is missing from crypto/ecdsa compared to crypto/rsa.
ErrInvalidKey means the key argument passed to SigningMethod.Verify was not the correct type.
Errors specific to rsa_utils.
ECDSA parsing errors.
ECDSA parsing errors.
Errors specific to rsa_utils.
Errors specific to rsa_utils.
ErrSignatureInvalid is returned when the provided signature is found to be invalid.
SigningMethodES256 implements ES256.
SigningMethodES384 implements ES384.
SigningMethodES512 implements ES512.
SigningMethodHS256 implements HS256.
SigningMethodHS384 implements HS384.
SigningMethodHS512 implements HS512.
SigningMethodPS256 implements PS256.
SigningMethodPS384 implements PS384.
SigningMethodPS512 implements PS512.
SigningMethodRS256 implements RS256.
SigningMethodRS384 implements RS384.
SigningMethodRS512 implements RS512.
Unsecured is the default "none" algorithm.

# Structs

ECPoint is a marshalling structure for the EC points R and S.
SigningMethodECDSA implements the ECDSA family of signing methods signing methods.
SigningMethodHMAC implements the HMAC-SHA family of SigningMethods.
SigningMethodNone is the default "none" algorithm.
SigningMethodRSA implements the RSA family of SigningMethods.
SigningMethodRSAPSS implements the RSAPSS family of SigningMethods.

# Interfaces

SigningMethod is an interface that provides a way to sign JWS tokens.

# Type aliases

Signature is a JWS signature.