|
NAMErs256_pk_new , rs256_pk_free ,
rs256_pk_from_RSA ,
rs256_pk_from_ptr ,
rs256_pk_to_EVP_PKEY —
FIDO 2 COSE RS256 API
SYNOPSIS#include <openssl/rsa.h>
#include <fido/rs256.h>
rs256_pk_t *
void
int
int
EVP_PKEY *
DESCRIPTIONRS256 is the name given in the CBOR Object Signing and Encryption (COSE) RFC to PKCS#1.5 2048-bit RSA with SHA-256. The COSE RS256 API of libfido2 is an auxiliary API with routines to convert between the different RSA public key types used in libfido2 and OpenSSL.In libfido2, RS256 public keys are abstracted by the rs256_pk_t type. The The The The The RETURN VALUESThers256_pk_from_RSA () and
rs256_pk_from_ptr () functions return
FIDO_OK on success. On error, a different error code
defined in <fido/err.h> is
returned.
SEE ALSOeddsa_pk_new(3), es256_pk_new(3), fido_assert_verify(3), fido_cred_pubkey_ptr(3)
Visit the GSP FreeBSD Man Page Interface. |