Struct openssl::ec::EcKeyBuilderRef
[−]
pub struct EcKeyBuilderRef(_);
Methods
impl EcKeyBuilderRef
[src]
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 ForeignTypeRef for EcKeyBuilderRef
type CType = EC_KEY
The raw C type.
unsafe fn from_ptr<'a>(ptr: *mut Self::CType) -> &'a Self
Constructs a shared instance of this type from its raw type.
unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
Constructs a mutable reference of this type from its raw type.
fn as_ptr(&self) -> *mut Self::CType
Returns a raw pointer to the wrapped value.