Skip to main content

reconstruct_public_key

Function reconstruct_public_key 

Source
pub fn reconstruct_public_key(
    reconstruction_value: &EccP256CurvePoint,
    issuer_key: &PublicVerificationKey,
    e: &[u8; 32],
) -> Option<PublicVerificationKey>
Expand description

ECQV public key extraction (SEC 4 v1.0 section 3.5, as profiled by IEEE Std 1609.2-2016 clause 5.3.2): Q_U = e * P_U + Q_CA on the curve of the issuer key (NIST P-256 or brainpoolP256r1). e is the big-endian integer hash of the implicit certificate (Certificate::implicit_hash_integer).