Versions in this module Expand all Collapse all v0 v0.6.28-beta.1 Jun 1, 2023 v0.6.27 Jun 1, 2023 v0.6.26 May 28, 2023 Changes in this version + var ErrDecodeAttestedCredentialData = Error + var ErrDecodeAuthenticatorData = Error + var ErrDecodeCOSEKey = Error + var ErrECDAANotSupported = Error + var ErrEncodeAttestedCredentialData = Error + var ErrEncodeAuthenticatorData = Error + var ErrGenerateChallenge = Error + var ErrMarshalAttestationObject = Error + var ErrNotImplemented = Error + var ErrOption = Error + var ErrUnmarshalAttestationObject = Error + var ErrVerifyAttestation = Error + var ErrVerifyAuthentication = Error + var ErrVerifyClientExtensionOutput = Error + var ErrVerifyRegistration = Error + var ErrVerifySignature = Error + func DecodePublicKey(coseKey *COSEKey) (crypto.PublicKey, error) + func New(key interface{}) *jwxImpl + func VerifySignature(rawKey cbor.RawMessage, message, sig []byte) error + type COSEAlgorithmIdentifier int + const AlgorithmES256 + const AlgorithmES384 + const AlgorithmES512 + const AlgorithmEdDSA + const AlgorithmPS256 + const AlgorithmPS384 + const AlgorithmPS512 + const AlgorithmRS1 + const AlgorithmRS256 + const AlgorithmRS384 + const AlgorithmRS512 + type COSEEllipticCurve int + const CurveP256 + const CurveP384 + const CurveP521 + type COSEKey struct + Alg int + CrvOrNOrK cbor.RawMessage + D []byte + IV []byte + KeyOpts int + Kid []byte + Kty int + XOrE cbor.RawMessage + Y cbor.RawMessage + type COSEKeyType int + const KeyTypeEC2 + const KeyTypeOKP + const KeyTypeRSA + type Error struct + func NewError(fmStr string, els ...interface{}) Error + func (e Error) Error() string + func (e Error) Is(target error) bool + func (e Error) Unwrap() error + func (e Error) Wrap(err error) Error + type KeyType = string + var Type_ENC KeyType = "enc" + var Type_SIG KeyType = "sig" v0.6.26-beta.10 May 25, 2023 v0.6.26-beta.8 May 18, 2023