EAC11ADOImpl

This class represents a TR03110 (EAC) v1.1 CVC ADO request

Constructors

this
this(string input)

Construct a CVC ADO request from a DER encoded CVC ADO request file.

this
this(DataSource input)

Construct a CVC ADO request from a data source

this
this(EAC11ADO other)

Construct a CVC ADO request from a copy of another ADO object

Members

Functions

encode
void encode(Pipe output, X509Encoding encoding)

Encode this object into a pipe. Only DER is supported.

forceDecode
void forceDecode()
Undocumented in source. Be warned that the author may not have intended to support it.
getCar
const(ASN1Car) getCar()

Get the CAR of this CVC ADO request

getConcatSig
const(Vector!ubyte) getConcatSig()
Undocumented in source. Be warned that the author may not have intended to support it.
getRequest
const(EAC11Req) getRequest()

Get the CVC request contained in this object.

opAssign
void opAssign(EAC11ADO other)

Replace this ADO request with references to another one

opCmp
int opCmp(EAC11ADOImpl rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(EAC11ADO rhs)
Undocumented in source. Be warned that the author may not have intended to support it.
tbsData
const(Vector!ubyte) tbsData()

Get the TBS data of this CVC ADO request.

Static functions

decodeInfo
void decodeInfo(DataSource source, RefCounted!(Vector!(ubyte, ALLOC), ALLOC) res_tbs_bits, ECDSASignature res_sig)
Undocumented in source. Be warned that the author may not have intended to support it.
decodeInfo
void decodeInfo(DataSource source, Vector!(ubyte, ALLOC) res_tbs_bits, ECDSASignature res_sig)
Undocumented in source. Be warned that the author may not have intended to support it.
makeSigned
Vector!ubyte makeSigned(PKSigner signer, Vector!(ubyte, ALLOC) tbs_bits, RandomNumberGenerator rng)

Create a signed CVC ADO request from to be signed (TBS) data

makeSigned
Vector!ubyte makeSigned(PKSigner signer, RefCounted!(Vector!(ubyte, ALLOC), ALLOC) tbs_bits, RandomNumberGenerator rng)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

m_car
ASN1Car m_car;
Undocumented in source.
m_req
EAC11Req m_req;
Undocumented in source.

Inherited Members

From SignedObject

tbsData
const(Vector!ubyte) tbsData()

Get the TBS (to-be-signed) data in this object.

getConcatSig
const(Vector!ubyte) getConcatSig()

Get the signature of this object as a concatenation, i.e. if the signature consists of multiple parts (like in the case of ECDSA) these will be concatenated.

encode
void encode(Pipe pipe, X509Encoding encoding)

Write this object DER encoded into a specified pipe.

forceDecode
void forceDecode()
Undocumented in source.

Meta