Struct xpcom::interfaces::nsITransportSecurityInfo
[−]
[src]
#[repr(C)]pub struct nsITransportSecurityInfo { /* fields omitted */ }
interface nsITransportSecurityInfo : nsISupports
Methods
impl nsITransportSecurityInfo
[src]
pub fn coerce<T: nsITransportSecurityInfoCoerce>(&self) -> &T
[src]
Cast this nsITransportSecurityInfo
to one of its base interfaces.
impl nsITransportSecurityInfo
[src]
pub unsafe fn GetSecurityState(&self, aSecurityState: *mut uint32_t) -> nsresult
[src]
readonly attribute unsigned long securityState;
pub unsafe fn GetErrorMessage(
&self,
aErrorMessage: *mut *const int16_t
) -> nsresult
[src]
&self,
aErrorMessage: *mut *const int16_t
) -> nsresult
readonly attribute wstring errorMessage;
pub unsafe fn GetErrorCode(&self) -> int32_t
[src]
[infallible] readonly attribute long errorCode;
pub unsafe fn GetFailedCertChain(
&self,
aFailedCertChain: *mut *const nsIX509CertList
) -> nsresult
[src]
&self,
aFailedCertChain: *mut *const nsIX509CertList
) -> nsresult
/**
* If certificate verification failed, this will be the peer certificate
* chain provided in the handshake, so it can be used for error reporting.
* If verification succeeded, this will be null.
*/
readonly attribute nsIX509CertList failedCertChain;
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 nsITransportSecurityInfo
[src]
const IID: nsIID
IID: nsIID = nsID(560009939, 10428, 18033, [176, 87, 249, 140, 192, 155, 161, 234])
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 nsITransportSecurityInfo
[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 nsITransportSecurityInfo
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.