Struct openssl::ec::EcKeyBuilderRef
[−]
pub struct EcKeyBuilderRef(_);
Methods
impl EcKeyBuilderRef
[src]
fn set_group(
&mut self,
group: &EcGroupRef
) -> Result<&mut EcKeyBuilderRef, ErrorStack>
[src]
&mut self,
group: &EcGroupRef
) -> Result<&mut EcKeyBuilderRef, ErrorStack>
fn set_public_key(
&mut self,
public_key: &EcPointRef
) -> Result<&mut EcKeyBuilderRef, ErrorStack>
[src]
&mut self,
public_key: &EcPointRef
) -> Result<&mut EcKeyBuilderRef, ErrorStack>
fn generate_key(&mut self) -> Result<&mut EcKeyBuilderRef, ErrorStack>
[src]
fn set_public_key_affine_coordinates(
&mut self,
x: &BigNumRef,
y: &BigNumRef
) -> Result<&mut EcKeyBuilderRef, ErrorStack>
[src]
&mut self,
x: &BigNumRef,
y: &BigNumRef
) -> Result<&mut EcKeyBuilderRef, ErrorStack>
Sets the public key based on affine coordinates.
fn set_private_key(
&mut self,
key: &BigNumRef
) -> Result<&mut EcKeyBuilderRef, ErrorStack>
[src]
&mut self,
key: &BigNumRef
) -> Result<&mut EcKeyBuilderRef, ErrorStack>
Sets the private key.
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
[src]
Constructs a shared instance of this type from its raw type.
unsafe fn from_ptr_mut<'a>(ptr: *mut Self::CType) -> &'a mut Self
[src]
Constructs a mutable reference of this type from its raw type.
fn as_ptr(&self) -> *mut Self::CType
[src]
Returns a raw pointer to the wrapped value.