Skip to content

to_public_key

In std/crypto.

fn to_public_key<F : KeyFormat, A : KeyAlgorithm>(self: String, format: Type<F>, algorithm: Type<A>) : Option<PublicKey<A>>

The public key self holds in format, or none.