|
| | RSAKeyPair_OpenSSL (size_t public_key_size, size_t public_exponent) |
| |
| | RSAKeyPair_OpenSSL (const Pem &pem) |
| |
| | RSAKeyPair_OpenSSL (const JsonWebKeyRSAPrivate &jwk) |
| |
| | ~RSAKeyPair_OpenSSL () override=default |
| |
| | RSAKeyPair_OpenSSL (EVP_PKEY *k) |
| |
| Pem | private_key_pem () const override |
| |
| std::vector< uint8_t > | private_key_der () const override |
| |
| JsonWebKeyRSAPrivate | private_key_jwk (const std::optional< std::string > &kid=std::nullopt) const override |
| |
| std::vector< uint8_t > | sign (std::span< const uint8_t > d, MDType md_type=MDType::NONE, size_t salt_length=0) const override |
| |
| std::vector< uint8_t > | rsa_oaep_unwrap (const std::vector< uint8_t > &input, const std::optional< std::vector< std::uint8_t > > &label=std::nullopt) override |
| |
| size_t | key_size () const override |
| |
| std::vector< uint8_t > | rsa_oaep_wrap (const uint8_t *input, size_t input_size, const uint8_t *label=nullptr, size_t label_size=0) override |
| |
| std::vector< uint8_t > | rsa_oaep_wrap (const std::vector< uint8_t > &input, const std::optional< std::vector< std::uint8_t > > &label=std::nullopt) override |
| |
| Pem | public_key_pem () const override |
| |
| std::vector< uint8_t > | public_key_der () const override |
| |
| JsonWebKeyRSAPublic | public_key_jwk (const std::optional< std::string > &kid=std::nullopt) const override |
| |
| bool | verify (const uint8_t *contents, size_t contents_size, const uint8_t *signature, size_t signature_size, MDType md_type, RSAPadding padding, size_t salt_length) override |
| |
| bool | verify_hash (const uint8_t *hash, size_t hash_size, const uint8_t *signature, size_t signature_size, MDType md_type, RSAPadding padding, size_t salt_length) override |
| |
| | RSAPublicKey_OpenSSL (EVP_PKEY *key) |
| |
| | RSAPublicKey_OpenSSL (const Pem &pem) |
| |
| | RSAPublicKey_OpenSSL (RSAPublicKey_OpenSSL &&key)=default |
| |
| | RSAPublicKey_OpenSSL (std::span< const uint8_t > der) |
| |
| | RSAPublicKey_OpenSSL (const JsonWebKeyRSAPublic &jwk) |
| |
| | ~RSAPublicKey_OpenSSL () override |
| |
| size_t | key_size () const override |
| |
| std::vector< uint8_t > | rsa_oaep_wrap (const uint8_t *input, size_t input_size, const uint8_t *label=nullptr, size_t label_size=0) override |
| |
| std::vector< uint8_t > | rsa_oaep_wrap (const std::vector< uint8_t > &input, const std::optional< std::vector< std::uint8_t > > &label=std::nullopt) override |
| |
| Pem | public_key_pem () const override |
| |
| std::vector< uint8_t > | public_key_der () const override |
| |
| JsonWebKeyRSAPublic | public_key_jwk (const std::optional< std::string > &kid=std::nullopt) const override |
| |
| bool | verify (const uint8_t *contents, size_t contents_size, const uint8_t *signature, size_t signature_size, MDType md_type, RSAPadding padding, size_t salt_length) override |
| |
| bool | verify_hash (const uint8_t *hash, size_t hash_size, const uint8_t *signature, size_t signature_size, MDType md_type, RSAPadding padding, size_t salt_length) override |
| |
| OpenSSL::Unique_BIGNUM | get_bn_param (const char *key_name) const |
| |
| virtual | ~RSAPublicKey ()=default |
| |
| | PublicKey_OpenSSL ()=default |
| |
| | PublicKey_OpenSSL (EVP_PKEY *key) |
| |
| | PublicKey_OpenSSL (const Pem &pem) |
| |
| void | check_is_cose_compatible (int cose_alg) |
| |
| | operator EVP_PKEY * () const |
| |
| virtual | ~PublicKey_OpenSSL () |
| |