pub fn sign(
backend: &EcdsaBackend,
key_id: usize,
payload: SignedDataPayload,
now: f64,
signer: Option<&Certificate>,
) -> Ieee1609Dot2DataExpand description
An EtsiTs103097Data-Signed with headerInfo {psid 623, generationTime} only.
The signer is self when signer is None (signature input with the empty
signer, IEEE 1609.2 clause 5.3.1), else the digest of signer.