Searched refs:raw_public_key (Results 1 – 2 of 2) sorted by relevance
108 pub fn new_raw_public_key(raw_public_key: &[u8], type_: PKeyType) -> Result<Self> { in new_raw_public_key()117 raw_public_key.as_ptr(), in new_raw_public_key()118 raw_public_key.len(), in new_raw_public_key()
271 let raw_public_key = buf.read::<LengthPrefixed<Bytes>>()?; in read_from_bytes() localVariable272 Ok(PKey::public_key_from_der(raw_public_key.as_ref())?) in read_from_bytes()