Botan

EAC SIGNED Object

License
Botan is released under the Simplified BSD License (see LICENSE.md)

abstract class  EACSignedObject: botan.cert.cvc.signed_obj.SignedObject;

This class represents abstract signed EAC object


const const(AlgorithmIdentifier)  signatureAlgorithm();

Get the signature algorithm identifier used to sign this object.

Returns
the signature algorithm identifier

const bool  checkSignature(ALLOC)(PublicKey pub_key, auto ref Vector!(ubyte, ALLOC) sig);

Check the signature of this object.

Parameters
PublicKey pub_key the public key associated with this signed object
Vector!(ubyte, ALLOC) sig the signature we are checking
Returns
true if the signature was created by the private key associated with this public key

const Vector!ubyte  BER_encode();

BER encode this object.

Returns
result containing the BER representation of this object.

const string  PEM_encode();

PEM encode this object.

Returns
result containing the PEM representation of this object.