Struct indy_crypto::bls::VerKey
[−]
[src]
pub struct VerKey { /* fields omitted */ }
BLS verification key.
Methods
impl VerKey
[src]
fn new(gen: &Generator, sign_key: &SignKey) -> Result<VerKey, IndyCryptoError>
[src]
Creates and returns BLS ver key that corresponds to sign key.
Example
use indy_crypto::bls::Generator; Generator::new().unwrap();
fn as_bytes(&self) -> &[u8]
[src]
fn from_bytes(bytes: &[u8]) -> Result<VerKey, IndyCryptoError>
[src]
Creates and returns BLS verification key from bytes representation.
Example
//TODO: Provide an example!