Struct xpcom::interfaces::nsISSLStatus
[−]
[src]
#[repr(C)]pub struct nsISSLStatus { /* fields omitted */ }
interface nsISSLStatus : nsISupports
Methods
impl nsISSLStatus
[src]
pub fn coerce<T: nsISSLStatusCoerce>(&self) -> &T
[src]
Cast this nsISSLStatus
to one of its base interfaces.
impl nsISSLStatus
[src]
pub const SSL_VERSION_3: i64
SSL_VERSION_3: i64 = 0
pub const TLS_VERSION_1: i64
TLS_VERSION_1: i64 = 1
pub const TLS_VERSION_1_1: i64
TLS_VERSION_1_1: i64 = 2
pub const TLS_VERSION_1_2: i64
TLS_VERSION_1_2: i64 = 3
pub const TLS_VERSION_1_3: i64
TLS_VERSION_1_3: i64 = 4
pub const CERTIFICATE_TRANSPARENCY_NOT_APPLICABLE: i64
CERTIFICATE_TRANSPARENCY_NOT_APPLICABLE: i64 = 0
pub const CERTIFICATE_TRANSPARENCY_POLICY_COMPLIANT: i64
CERTIFICATE_TRANSPARENCY_POLICY_COMPLIANT: i64 = 5
pub const CERTIFICATE_TRANSPARENCY_POLICY_NOT_ENOUGH_SCTS: i64
CERTIFICATE_TRANSPARENCY_POLICY_NOT_ENOUGH_SCTS: i64 = 6
pub const CERTIFICATE_TRANSPARENCY_POLICY_NOT_DIVERSE_SCTS: i64
CERTIFICATE_TRANSPARENCY_POLICY_NOT_DIVERSE_SCTS: i64 = 7
pub unsafe fn GetServerCert(
&self,
aServerCert: *mut *const nsIX509Cert
) -> nsresult
[src]
&self,
aServerCert: *mut *const nsIX509Cert
) -> nsresult
readonly attribute nsIX509Cert serverCert;
pub unsafe fn GetFailedCertChain(
&self,
aFailedCertChain: *mut *const nsIX509CertList
) -> nsresult
[src]
&self,
aFailedCertChain: *mut *const nsIX509CertList
) -> nsresult
readonly attribute nsIX509CertList failedCertChain;
pub unsafe fn GetSucceededCertChain(
&self,
aSucceededCertChain: *mut *const nsIX509CertList
) -> nsresult
[src]
&self,
aSucceededCertChain: *mut *const nsIX509CertList
) -> nsresult
readonly attribute nsIX509CertList succeededCertChain;
pub unsafe fn GetCipherName(&self, aCipherName: &mut nsACString) -> nsresult
[src]
[must_use] readonly attribute ACString cipherName;
pub unsafe fn GetKeyLength(&self, aKeyLength: *mut uint32_t) -> nsresult
[src]
[must_use] readonly attribute unsigned long keyLength;
pub unsafe fn GetSecretKeyLength(
&self,
aSecretKeyLength: *mut uint32_t
) -> nsresult
[src]
&self,
aSecretKeyLength: *mut uint32_t
) -> nsresult
[must_use] readonly attribute unsigned long secretKeyLength;
pub unsafe fn GetKeaGroupName(&self, aKeaGroupName: &mut nsACString) -> nsresult
[src]
[must_use] readonly attribute ACString keaGroupName;
pub unsafe fn GetSignatureSchemeName(
&self,
aSignatureSchemeName: &mut nsACString
) -> nsresult
[src]
&self,
aSignatureSchemeName: &mut nsACString
) -> nsresult
[must_use] readonly attribute ACString signatureSchemeName;
pub unsafe fn GetProtocolVersion(
&self,
aProtocolVersion: *mut uint16_t
) -> nsresult
[src]
&self,
aProtocolVersion: *mut uint16_t
) -> nsresult
[must_use] readonly attribute unsigned short protocolVersion;
pub unsafe fn GetCertificateTransparencyStatus(
&self,
aCertificateTransparencyStatus: *mut uint16_t
) -> nsresult
[src]
&self,
aCertificateTransparencyStatus: *mut uint16_t
) -> nsresult
[must_use] readonly attribute unsigned short certificateTransparencyStatus;
pub unsafe fn GetIsDomainMismatch(
&self,
aIsDomainMismatch: *mut bool
) -> nsresult
[src]
&self,
aIsDomainMismatch: *mut bool
) -> nsresult
[must_use] readonly attribute boolean isDomainMismatch;
pub unsafe fn GetIsNotValidAtThisTime(
&self,
aIsNotValidAtThisTime: *mut bool
) -> nsresult
[src]
&self,
aIsNotValidAtThisTime: *mut bool
) -> nsresult
[must_use] readonly attribute boolean isNotValidAtThisTime;
pub unsafe fn GetIsUntrusted(&self, aIsUntrusted: *mut bool) -> nsresult
[src]
[must_use] readonly attribute boolean isUntrusted;
pub unsafe fn GetIsExtendedValidation(
&self,
aIsExtendedValidation: *mut bool
) -> nsresult
[src]
&self,
aIsExtendedValidation: *mut bool
) -> nsresult
/**
* True only if (and after) serverCert was successfully validated as
* Extended Validation (EV).
*/
[must_use] readonly attribute boolean isExtendedValidation;
Methods from Deref<Target = nsISupports>
pub fn coerce<T: nsISupportsCoerce>(&self) -> &T
[src]
Cast this nsISupports
to one of its base interfaces.
pub unsafe fn QueryInterface(
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
[src]
&self,
uuid: &nsIID,
result: *mut *mut c_void
) -> nsresult
void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);
pub unsafe fn AddRef(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt AddRef ();
pub unsafe fn Release(&self) -> nsrefcnt
[src]
[noscript,notxpcom] nsrefcnt Release ();
Trait Implementations
impl XpCom for nsISSLStatus
[src]
const IID: nsIID
IID: nsIID = nsID(4204505435, 51771, 18826, [184, 137, 124, 121, 207, 40, 254, 232])
fn query_interface<T: XpCom>(&self) -> Option<RefPtr<T>>
[src]
Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more
impl RefCounted for nsISSLStatus
[src]
unsafe fn addref(&self)
[src]
Increment the reference count.
unsafe fn release(&self)
[src]
Decrement the reference count, potentially freeing backing memory.
impl Deref for nsISSLStatus
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.