[][src]Trait ublox_cellular::prelude::SSL

pub trait SSL {
    pub fn import_certificate(
        &self,
        profile_id: SecurityProfileId,
        name: &str,
        certificate: &[u8]
    ) -> Result<(), Error>;
pub fn import_root_ca(
        &self,
        profile_id: SecurityProfileId,
        name: &str,
        root_ca: &[u8]
    ) -> Result<(), Error>;
pub fn import_private_key(
        &self,
        profile_id: SecurityProfileId,
        name: &str,
        private_key: &[u8],
        password: Option<&str>
    ) -> Result<(), Error>;
pub fn enable_ssl(
        &self,
        socket: SocketHandle,
        profile_id: SecurityProfileId
    ) -> Result<(), Error>; }

Required methods

pub fn import_certificate(
    &self,
    profile_id: SecurityProfileId,
    name: &str,
    certificate: &[u8]
) -> Result<(), Error>
[src]

pub fn import_root_ca(
    &self,
    profile_id: SecurityProfileId,
    name: &str,
    root_ca: &[u8]
) -> Result<(), Error>
[src]

pub fn import_private_key(
    &self,
    profile_id: SecurityProfileId,
    name: &str,
    private_key: &[u8],
    password: Option<&str>
) -> Result<(), Error>
[src]

pub fn enable_ssl(
    &self,
    socket: SocketHandle,
    profile_id: SecurityProfileId
) -> Result<(), Error>
[src]

Loading content...

Implementors

Loading content...