Expand description
Certificate handling — ETSI TS 103 097 V2.2.1 (2026-03) profiles.
Provides Certificate (read-only wrapper) and OwnCertificate
(includes the private-key identifier for signing).
Structs§
- Certificate
- Immutable certificate wrapper.
- OwnCertificate
- A certificate for which we hold the private key.
Functions§
- compute_
hashedid8 - Compute the HashedId8 of a COER-encoded certificate.
- decode_
certificate - COER-decode an
EtsiTs103097Certificate. - decode_
ieee1609_ dot2_ data - encode_
certificate - COER-encode an
EtsiTs103097Certificate. - encode_
ieee1609_ dot2_ data - COER-encode
Ieee1609Dot2Data(signed message envelope). - encode_
tbs_ certificate - COER-encode
ToBeSignedCertificate. - encode_
tbs_ data - COER-encode
ToBeSignedData(the data that is actually signed). - signing_
input - Input to the ECDSA signing and verification operations (IEEE Std
1609.2-2016, clause 5.3.1, adopted by ETSI TS 103 097 V2.2.1):
Hash(Data input) || Hash(Signer identifier input), which ECDSA hashes again.datais the COER encoding of the ToBeSignedData or ToBeSignedCertificate;signeris the canonical COER encoding of the signer’s certificate, or empty for self-signed data.sha384selects SHA-384 (384-bit curves) instead of SHA-256. - try_
decode_ ieee1609_ dot2_ data - COER-decode
Ieee1609Dot2Data. COER-decode anIeee1609Dot2Data,Nonewhen malformed (received data).