pub fn build_enrolment_request(
backend: &mut EcdsaBackend,
ea: &Certificate,
its_id: &[u8],
signer_key: usize,
current_ec: Option<&OwnCertificate>,
attributes: CertificateSubjectAttributes,
now: f64,
algorithm: KeyAlgorithm,
) -> Result<PendingRequest, PkiProtocolError>Expand description
EnrolmentRequestMessage (clause 6.2.3.2.1). Initial request (current_ec
None): itsId = canonical identifier its_id, outer signer self with the
canonical key signer_key. Re-keying: itsId = HashedId8(EC), outer signer
digest(EC) with the EC key. A new verification key pair is generated.