pub fn authorize(
transport: &dyn PkiTransport,
aa_url: &str,
aa_cert: &Certificate,
ea_cert: &Certificate,
ec_own: &OwnCertificate,
backend: &mut EcdsaBackend,
attributes: CertificateSubjectAttributes,
now: f64,
pop: bool,
retry: Option<&Retry>,
) -> Result<OwnCertificate, AuthorizationError>Expand description
Send an AuthorizationRequestMessage (with POP when pop) to aa_url and
return the issued AT. With retry the same message is repeated while no
response is received (ETSI TS 103 601 V2.1.1 clause 5.2).