Struct openssl::ec::EcKeyBuilder
[−]
pub struct EcKeyBuilder(_);
Methods
impl EcKeyBuilder
[src]
fn new() -> Result<EcKeyBuilder, ErrorStack>
fn build(self) -> EcKey
Methods from Deref<Target=EcKeyBuilderRef>
fn set_group(&mut self,
group: &EcGroupRef)
-> Result<&mut EcKeyBuilderRef, ErrorStack>
group: &EcGroupRef)
-> Result<&mut EcKeyBuilderRef, ErrorStack>
fn set_public_key(&mut self,
public_key: &EcPointRef)
-> Result<&mut EcKeyBuilderRef, ErrorStack>
public_key: &EcPointRef)
-> Result<&mut EcKeyBuilderRef, ErrorStack>
fn generate_key(&mut self) -> Result<&mut EcKeyBuilderRef, ErrorStack>
Trait Implementations
impl ForeignType for EcKeyBuilder
type CType = EC_KEY
The raw C type.
type Ref = EcKeyBuilderRef
The type representing a reference to this type.
unsafe fn from_ptr(ptr: *mut EC_KEY) -> EcKeyBuilder
Constructs an instance of this type from its raw type.
fn as_ptr(&self) -> *mut EC_KEY
Returns a raw pointer to the wrapped value.
impl Drop for EcKeyBuilder
impl Deref for EcKeyBuilder
type Target = EcKeyBuilderRef
The resulting type after dereferencing
fn deref(&self) -> &EcKeyBuilderRef
The method called to dereference a value
impl DerefMut for EcKeyBuilder
fn deref_mut(&mut self) -> &mut EcKeyBuilderRef
The method called to mutably dereference a value