| 
    Botan 3.9.0
    
   Crypto and TLS for C& 
   | 
 
#include <asn1_obj.h>
  
Public Types | |
| enum | Encoding_Option : uint8_t { USE_NULL_PARAM , USE_EMPTY_PARAM } | 
Public Member Functions | |
| AlgorithmIdentifier ()=default | |
| AlgorithmIdentifier (const OID &oid, const std::vector< uint8_t > ¶ms) | |
| AlgorithmIdentifier (const OID &oid, Encoding_Option enc) | |
| AlgorithmIdentifier (std::string_view oid_name, const std::vector< uint8_t > ¶ms) | |
| AlgorithmIdentifier (std::string_view oid_name, Encoding_Option enc) | |
| std::vector< uint8_t > | BER_encode () const | 
| void | decode_from (BER_Decoder &from) override | 
| bool | empty () const | 
| void | encode_into (DER_Encoder &to) const override | 
| const OID & | get_oid () const | 
| const std::vector< uint8_t > & | get_parameters () const | 
| const OID & | oid () const | 
| const std::vector< uint8_t > & | parameters () const | 
| bool | parameters_are_empty () const | 
| bool | parameters_are_null () const | 
| bool | parameters_are_null_or_empty () const | 
Algorithm Identifier
Definition at line 464 of file asn1_obj.h.
| enum Botan::AlgorithmIdentifier::Encoding_Option : uint8_t | 
      
  | 
  default | 
References AlgorithmIdentifier(), and oid().
Referenced by AlgorithmIdentifier(), and AlgorithmIdentifier().
| Botan::AlgorithmIdentifier::AlgorithmIdentifier | ( | const OID & | oid, | 
| Encoding_Option | enc ) | 
Definition at line 30 of file alg_id.cpp.
References oid(), and USE_NULL_PARAM.
| Botan::AlgorithmIdentifier::AlgorithmIdentifier | ( | std::string_view | oid_name, | 
| Encoding_Option | enc ) | 
Definition at line 41 of file alg_id.cpp.
References oid(), and USE_NULL_PARAM.
| Botan::AlgorithmIdentifier::AlgorithmIdentifier | ( | const OID & | oid, | 
| const std::vector< uint8_t > & | params ) | 
Definition at line 18 of file alg_id.cpp.
References oid().
| Botan::AlgorithmIdentifier::AlgorithmIdentifier | ( | std::string_view | oid_name, | 
| const std::vector< uint8_t > & | params ) | 
Definition at line 24 of file alg_id.cpp.
References AlgorithmIdentifier(), and oid().
      
  | 
  inherited | 
Return the encoding of this object. This is a convenience method when just one object needs to be serialized. Use DER_Encoder for complicated encodings.
Definition at line 19 of file asn1_obj.cpp.
References encode_into().
Referenced by decode_from(), Botan::Certificate_Store_In_SQL::find_all_certs(), Botan::Certificate_Store_In_SQL::find_cert(), Botan::X509_Certificate::fingerprint(), Botan::Certificate_Store_In_SQL::insert_cert(), Botan::X509_Object::PEM_encode(), Botan::PSS_Params::PSS_Params(), and Botan::Certificate_Store_In_SQL::revoke_cert().
      
  | 
  overridevirtual | 
Decode whatever this object is from from
| from | the BER_Decoder that will be read from | 
Implements Botan::ASN1_Object.
Definition at line 82 of file alg_id.cpp.
References Botan::BER_Decoder::decode(), Botan::BER_Decoder::end_cons(), Botan::BER_Decoder::raw_bytes(), and Botan::BER_Decoder::start_sequence().
      
  | 
  inline | 
Definition at line 495 of file asn1_obj.h.
      
  | 
  overridevirtual | 
Encode whatever this object is into to
| to | the DER_Encoder that will be written to | 
Implements Botan::ASN1_Object.
Definition at line 75 of file alg_id.cpp.
References Botan::DER_Encoder::encode(), Botan::DER_Encoder::end_cons(), oid(), parameters(), Botan::DER_Encoder::raw_bytes(), and Botan::DER_Encoder::start_sequence().
      
  | 
  inline | 
Definition at line 483 of file asn1_obj.h.
References get_oid().
Referenced by get_oid().
      
  | 
  inline | 
Definition at line 485 of file asn1_obj.h.
References get_parameters().
Referenced by get_parameters().
      
  | 
  inline | 
Definition at line 479 of file asn1_obj.h.
Referenced by AlgorithmIdentifier(), AlgorithmIdentifier(), AlgorithmIdentifier(), AlgorithmIdentifier(), AlgorithmIdentifier(), Botan::PKIX::check_chain(), Botan::X509::create_self_signed_cert(), encode_into(), Botan::load_private_key(), Botan::load_public_key(), Botan::operator==(), Botan::pbes2_decrypt(), Botan::X509_Certificate::to_string(), and Botan::PK_Ops::Verification_with_Hash::Verification_with_Hash().
      
  | 
  inline | 
Definition at line 481 of file asn1_obj.h.
Referenced by Botan::EC_PrivateKey::EC_PrivateKey(), Botan::EC_PublicKey::EC_PublicKey(), encode_into(), Botan::GOST_3410_PublicKey::GOST_3410_PublicKey(), Botan::operator==(), and Botan::pbes2_decrypt().
      
  | 
  inline | 
Definition at line 491 of file asn1_obj.h.
Referenced by parameters_are_null_or_empty(), and Botan::PK_Ops::Verification_with_Hash::Verification_with_Hash().
| bool Botan::AlgorithmIdentifier::parameters_are_null | ( | ) | const | 
Definition at line 49 of file alg_id.cpp.
Referenced by parameters_are_null_or_empty(), and Botan::PK_Ops::Verification_with_Hash::Verification_with_Hash().
      
  | 
  inline | 
Definition at line 493 of file asn1_obj.h.
References parameters_are_empty(), and parameters_are_null().
Referenced by Botan::operator==().