Struct openssl::ec::EcKeyRef []

pub struct EcKeyRef(_);

Reference to EcKey

Methods

impl EcKeyRef
[src]

[src]

Serializes the private key to PEM.

[src]

Serializes the private key to PEM, encrypting it with the specified symmetric cipher and passphrase.

[src]

Serializes the private key to DER.

[src]

Return [EcGroup] of the EcKey

OpenSSL documentation at EC_KEY_get0_group

[src]

Return [EcPoint] associated with the public key

OpenSSL documentation at EC_KEY_get0_pubic_key

[src]

Return [EcPoint] associated with the private key

OpenSSL documentation at EC_KEY_get0_private_key

[src]

Checks the key for validity.

OpenSSL documenation at EC_KEY_check_key

[src]

Create a copy of the EcKey to allow modification

Trait Implementations

impl ForeignTypeRef for EcKeyRef

The raw C type.

[src]

Constructs a shared instance of this type from its raw type.

[src]

Constructs a mutable reference of this type from its raw type.

[src]

Returns a raw pointer to the wrapped value.

impl Send for EcKeyRef
[src]

impl Sync for EcKeyRef
[src]