| Botan
    1.10.16
    | 
#include <eac_obj.h>
 
  
 | Public Member Functions | |
| SecureVector< byte > | BER_encode () const | 
| bool | check_signature (class Public_Key &key) const | 
| bool | check_signature (class Public_Key &key, const MemoryRegion< byte > &sig) const | 
| virtual void | encode (Pipe &pipe, X509_Encoding encoding=PEM) const =0 | 
| SecureVector< byte > | get_concat_sig () const | 
| std::string | PEM_encode () const | 
| AlgorithmIdentifier | signature_algorithm () const | 
| virtual SecureVector< byte > | tbs_data () const =0 | 
| Protected Member Functions | |
| void | do_decode () | 
| void | init (DataSource &in) | 
| virtual | ~EAC1_1_obj () | 
| Protected Attributes | |
| ECDSA_Signature | m_sig | 
| std::string | PEM_label_pref | 
| std::vector< std::string > | PEM_labels_allowed | 
| AlgorithmIdentifier | sig_algo | 
| SecureVector< byte > | tbs_bits | 
TR03110 v1.1 EAC CV Certificate
| 
 | inlineprotectedvirtual | 
| 
 | inherited | 
BER encode this object.
Definition at line 19 of file signed_obj.cpp.
References Botan::EAC_Signed_Object::encode(), Botan::Pipe::end_msg(), Botan::RAW_BER, Botan::Pipe::read_all(), and Botan::Pipe::start_msg().
| 
 | inline | 
Definition at line 30 of file eac_obj.h.
| 
 | inherited | 
Check the signature of this object.
| key | the public key associated with this signed object | 
| sig | the signature we are checking | 
Definition at line 48 of file signed_obj.cpp.
References Botan::Public_Key::algo_name(), Botan::DER_SEQUENCE, Botan::IEEE_1363, Botan::OIDS::lookup(), Botan::Public_Key::message_parts(), Botan::AlgorithmIdentifier::oid, Botan::EAC_Signed_Object::sig_algo, Botan::split_on(), Botan::EAC_Signed_Object::tbs_data(), and Botan::PK_Verifier::verify_message().
Referenced by Botan::EAC1_1_obj< EAC1_1_Req >::check_signature().
| 
 | protectedinherited | 
Definition at line 79 of file signed_obj.cpp.
References Botan::EAC_Signed_Object::PEM_label_pref.
Referenced by Botan::EAC1_1_ADO::EAC1_1_ADO(), Botan::EAC1_1_CVC::EAC1_1_CVC(), and Botan::EAC1_1_Req::EAC1_1_Req().
| 
 | pure virtualinherited | 
Write this object DER encoded into a specified pipe.
| pipe | the pipe to write the encoded object to | 
| encoding | the encoding type to use | 
Implemented in Botan::EAC1_1_ADO, Botan::EAC1_1_gen_CVC< Derived >, Botan::EAC1_1_gen_CVC< EAC1_1_CVC >, and Botan::EAC1_1_gen_CVC< EAC1_1_Req >.
Referenced by Botan::EAC_Signed_Object::BER_encode(), and Botan::EAC_Signed_Object::PEM_encode().
| 
 | inlinevirtual | 
Return the signature as a concatenation of the encoded parts.
Implements Botan::EAC_Signed_Object.
Definition at line 27 of file eac_obj.h.
Referenced by Botan::EAC1_1_Req::operator==(), Botan::EAC1_1_CVC::operator==(), and Botan::EAC1_1_ADO::operator==().
| 
 | inlineprotected | 
| 
 | inherited | 
PEM encode this object.
Definition at line 31 of file signed_obj.cpp.
References Botan::EAC_Signed_Object::encode(), Botan::Pipe::end_msg(), Botan::PEM, Botan::Pipe::read_all_as_string(), and Botan::Pipe::start_msg().
| 
 | inherited | 
Get the signature algorithm identifier used to sign this object.
Definition at line 43 of file signed_obj.cpp.
References Botan::EAC_Signed_Object::sig_algo.
| 
 | pure virtualinherited | 
Get the TBS (to-be-signed) data in this object.
Implemented in Botan::EAC1_1_ADO, Botan::EAC1_1_gen_CVC< Derived >, Botan::EAC1_1_gen_CVC< EAC1_1_CVC >, and Botan::EAC1_1_gen_CVC< EAC1_1_Req >.
Referenced by Botan::EAC_Signed_Object::check_signature().
| 
 | protected | 
Definition at line 36 of file eac_obj.h.
Referenced by Botan::EAC1_1_obj< EAC1_1_Req >::check_signature(), and Botan::EAC1_1_obj< EAC1_1_Req >::get_concat_sig().
| 
 | protectedinherited | 
Definition at line 87 of file signed_obj.h.
Referenced by Botan::EAC_Signed_Object::do_decode(), and Botan::EAC1_1_obj< EAC1_1_Req >::init().
| 
 | protectedinherited | 
Definition at line 88 of file signed_obj.h.
| 
 | protectedinherited | 
Definition at line 85 of file signed_obj.h.
Referenced by Botan::EAC_Signed_Object::check_signature(), Botan::EAC1_1_ADO::EAC1_1_ADO(), Botan::EAC1_1_CVC::get_chat_value(), Botan::EAC1_1_Req::operator==(), and Botan::EAC_Signed_Object::signature_algorithm().
| 
 | protectedinherited | 
Definition at line 86 of file signed_obj.h.
Referenced by Botan::EAC1_1_ADO::EAC1_1_ADO(), Botan::EAC1_1_ADO::encode(), Botan::EAC1_1_CVC::get_chat_value(), Botan::EAC1_1_obj< EAC1_1_Req >::init(), Botan::EAC1_1_Req::operator==(), and Botan::EAC1_1_ADO::tbs_data().
 1.8.13
 1.8.13