package
0.0.0-20221205164246-ebaf9b74c6ec
Repository: https://github.com/duo-labs/webauthn.git
Documentation: pkg.go.dev
# Functions
Return the Hashing interface to be used for a given COSE Algorithm.
ParseFIDOPublicKey is only used when the appID extension is configured by the assertion response.
Figure out what kind of COSE material was provided and create the data for the new key.
Return which signature algorithm is being used from the COSE Key.
# Constants
AlgEdDSA EdDSA.
AlgES256 ECDSA with SHA-256.
AlgES384 ECDSA with SHA-384.
AlgES512 ECDSA with SHA-512.
AlgPS256 RSASSA-PSS with SHA-256.
AlgPS384 RSASSA-PSS with SHA-384.
AlgPS512 RSASSA-PSS with SHA-512.
AlgRS1 RSASSA-PKCS1-v1_5 with SHA-1.
AlgRS256 RSASSA-PKCS1-v1_5 with SHA-256.
AlgRS384 RSASSA-PKCS1-v1_5 with SHA-384.
AlgRS512 RSASSA-PKCS1-v1_5 with SHA-512.
OKP Ed25519 for use w/ EdDSA only.
OKP Ed448 for use w/ EdDSA only.
EllipticKey is an Elliptic Curve Public Key.
OctetKey is an Octet Key.
EC2 NIST P-256 also known as secp256r1.
EC2 NIST P-384 also known as secp384r1.
EC2 NIST P-521 also known as secp521r1.
RSAKey is an RSA Public Key.
OKP X25519 for use w/ ECDH only.
OKP X448 for use w/ ECDH only.
# Structs
PublicKeyData The public key portion of a Relying Party-specific credential key pair, generated by an authenticator and returned to a Relying Party at registration time.
# Type aliases
COSEAlgorithmIdentifier From §5.10.5.
The COSE Elliptic Curves https://www.iana.org/assignments/cose/cose.xhtml#elliptic-curves.
The Key Type derived from the IANA COSE AuthData.
Algorithm enumerations used for.