pub fn public_key_from_private(
private_key_pkcs8: &[u8],
) -> Result<Vec<u8>, &'static str>Expand description
Derives the raw Ed25519 public key that operators distribute as the verification trust anchor.
§Parameters
private_key_pkcs8: Input consumed bycrate::provenance::public_key_from_private.
§Returns
Returns the successful value produced by crate::provenance::public_key_from_private or an error when the operation fails.
§Errors
Returns an error value when crate::provenance::public_key_from_private cannot complete successfully.
§Examples
ⓘ
let _result = pharos_runtime_ops::provenance::public_key_from_private(todo!());§Related
crate::provenancefor adjacent helpers that share the same runtime surface.