Struct xpcom::interfaces::nsISiteHPKPState
[−]
[src]
#[repr(C)]pub struct nsISiteHPKPState { /* fields omitted */ }
interface nsISiteHPKPState : nsISiteSecurityState
Methods
impl nsISiteHPKPState
[src]
pub fn coerce<T: nsISiteHPKPStateCoerce>(&self) -> &T
[src]
Cast this nsISiteHPKPState
to one of its base interfaces.
impl nsISiteHPKPState
[src]
pub unsafe fn GetSha256Keys(
&self,
aSha256Keys: *mut *const nsISimpleEnumerator
) -> nsresult
[src]
&self,
aSha256Keys: *mut *const nsISimpleEnumerator
) -> nsresult
[must_use] readonly attribute nsISimpleEnumerator sha256Keys;
Methods from Deref<Target = nsISiteSecurityState>
pub fn coerce<T: nsISiteSecurityStateCoerce>(&self) -> &T
[src]
Cast this nsISiteSecurityState
to one of its base interfaces.
pub const SECURITY_PROPERTY_UNSET: i64
pub const SECURITY_PROPERTY_SET: i64
pub const SECURITY_PROPERTY_KNOCKOUT: i64
pub const SECURITY_PROPERTY_NEGATIVE: i64
pub unsafe fn GetHostname(&self, aHostname: &mut nsACString) -> nsresult
[src]
[must_use] readonly attribute ACString hostname;
pub unsafe fn GetExpireTime(&self) -> int64_t
[src]
[infallible] readonly attribute long long expireTime;
pub unsafe fn GetSecurityPropertyState(&self) -> int16_t
[src]
[infallible] readonly attribute short securityPropertyState;
pub unsafe fn GetIncludeSubdomains(&self) -> bool
[src]
[infallible] readonly attribute boolean includeSubdomains;
Trait Implementations
impl XpCom for nsISiteHPKPState
[src]
const IID: nsIID
IID: nsIID = nsID(2922991736, 51152, 18253, [177, 71, 244, 170, 32, 58, 155, 44])
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 nsISiteHPKPState
[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 nsISiteHPKPState
[src]
type Target = nsISiteSecurityState
The resulting type after dereferencing.
fn deref(&self) -> &nsISiteSecurityState
[src]
Dereferences the value.