makeCvcCert

Create an arbitrary EAC 1.1 CVC. The desired key encoding must be set within the key (if applicable).

  1. EAC11CVC makeCvcCert(PKSigner signer, Vector!(ubyte, ALLOC) public_key, ASN1Car car, ASN1Chr chr, ubyte holder_auth_templ, ASN1Ced ced, ASN1Cex cex, RandomNumberGenerator rng)
  2. EAC11CVC makeCvcCert(PKSigner signer, RefCounted!(Vector!(ubyte, ALLOC), ALLOC) public_key, ASN1Car car, ASN1Chr chr, ubyte holder_auth_templ, ASN1Ced ced, ASN1Cex cex, RandomNumberGenerator rng)
    static if(BOTAN_HAS_CARD_VERIFIABLE_CERTIFICATES)
    makeCvcCert
    (
    ALLOC
    )
    (,
    auto const ref RefCounted!(Vector!(ubyte, ALLOC), ALLOC) public_key
    ,,,,,,)

Parameters

signer PKSigner

the signer used to sign the certificate

public_key RefCounted!(Vector!(ubyte, ALLOC), ALLOC)

the DER encoded public key to appear in the certificate

car ASN1Car

the CAR of the certificate

chr ASN1Chr

the CHR of the certificate

holder_auth_templ ubyte

the holder authorization value ubyte to appear in the CHAT of the certificate

ced ASN1Ced

the CED to appear in the certificate

cex ASN1Cex

the CEX to appear in the certificate

rng RandomNumberGenerator

a random number generator

Meta