9#include <botan/cvc_ado.h>
27void EAC1_1_ADO::force_decode()
32 .raw_bytes(inner_cert)
67void EAC1_1_ADO::decode_info(
DataSource& source,
78 .raw_bytes(cert_inner_bits)
90 res_tbs_bits = enc_cert;
98 throw Invalid_Argument(
"EAC1_1_ADO::encode() cannot PEM encode an EAC object");
119 && this->tbs_data() == rhs.
tbs_data()
120 && this->get_car() == rhs.
get_car());
BER_Decoder(DataSource &)
DER_Encoder & start_cons(ASN1_Tag type_tag, ASN1_Tag class_tag=UNIVERSAL)
DER_Encoder & raw_bytes(const byte val[], size_t len)
SecureVector< byte > get_contents()
DER_Encoder & encode(bool b)
EAC1_1_ADO(const std::string &str)
SecureVector< byte > tbs_data() const
void encode(Pipe &out, X509_Encoding encoding) const
EAC1_1_Req get_request() const
bool operator==(EAC1_1_ADO const &rhs) const
static MemoryVector< byte > make_signed(PK_Signer &signer, const MemoryRegion< byte > &tbs_bits, RandomNumberGenerator &rng)
EAC1_1_Req(DataSource &source)
void init(DataSource &in)
SecureVector< byte > get_concat_sig() const
SecureVector< byte > tbs_bits
AlgorithmIdentifier sig_algo
SecureVector< byte > sign_message(const byte in[], size_t length, RandomNumberGenerator &rng)
void write(const byte in[], size_t length)
std::invalid_argument Invalid_Argument
ECDSA_Signature decode_concatenation(const MemoryRegion< byte > &concat)