pub trait P256: CryptoClient {
fn generate_p256_private_key(
&mut self,
persistence: Location
) -> ClientResult<'_, GenerateKey, Self> { ... }
fn derive_p256_public_key(
&mut self,
private_key: KeyId,
persistence: Location
) -> ClientResult<'_, DeriveKey, Self> { ... }
fn deserialize_p256_key<'c>(
&'c mut self,
serialized_key: &[u8],
format: KeySerialization,
attributes: StorageAttributes
) -> ClientResult<'c, DeserializeKey, Self> { ... }
fn serialize_p256_key(
&mut self,
key: KeyId,
format: KeySerialization
) -> ClientResult<'_, SerializeKey, Self> { ... }
fn sign_p256<'c>(
&'c mut self,
key: KeyId,
message: &[u8],
format: SignatureSerialization
) -> ClientResult<'c, Sign, Self> { ... }
fn verify_p256<'c>(
&'c mut self,
key: KeyId,
message: &[u8],
signature: &[u8]
) -> ClientResult<'c, Verify, Self> { ... }
fn agree_p256(
&mut self,
private_key: KeyId,
public_key: KeyId,
persistence: Location
) -> ClientResult<'_, Agree, Self> { ... }
}