package
0.0.8
Repository: https://github.com/opensourcex123/webauth.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
HasherFromCOSEAlg returns 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.
ParsePublicKey figures out what kind of COSE material was provided and create the data for the new key.
SigAlgFromCOSEAlg return which signature algorithm is being used from the COSE Key.
No description provided by the author

# Constants

AlgEdDSA EdDSA.
AlgES256 ECDSA with SHA-256.
AlgES256K is ECDSA using secp256k1 curve and 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.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Ed25519 for use w/ EdDSA only.
Ed448 for use w/ EdDSA only.
EllipticCurveReserved is the COSE EC Reserved value.
EllipticKey is an Elliptic Curve Public Key.
HSSLMS is the public key for HSS/LMS hash-based digital signature.
KeyTypeReserved is a reserved value.
No description provided by the author
No description provided by the author
OctetKey is an Octet Key.
P256 represents NIST P-256 also known as secp256r1.
P384 represents NIST P-384 also known as secp384r1.
P521 represents NIST P-521 also known as secp521r1.
RSAKey is an RSA Public Key.
Secp256k1 is the SECG secp256k1 curve.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Symmetric Keys.
No description provided by the author
X25519 for use w/ ECDH only.
X448 for use w/ ECDH only.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
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.
No description provided by the author

# Type aliases

COSEAlgorithmIdentifier is a number identifying a cryptographic algorithm.
COSEEllipticCurve is an enumerator that represents the COSE Elliptic Curves.
COSEKeyType is The Key type derived from the IANA COSE AuthData.
SignatureAlgorithm represents algorithm enumerations used for COSE signatures.