Struct xpcom::interfaces::nsIIdentityKeyPair
[−]
[src]
#[repr(C)]pub struct nsIIdentityKeyPair { /* fields omitted */ }
interface nsIIdentityKeyPair : nsISupports
/**
* This interface provides a keypair and signing interface for Identity functionality
*/
Methods
impl nsIIdentityKeyPair
[src]
pub fn coerce<T: nsIIdentityKeyPairCoerce>(&self) -> &T
[src]
Cast this nsIIdentityKeyPair
to one of its base interfaces.
impl nsIIdentityKeyPair
[src]
pub unsafe fn GetKeyType(&self, aKeyType: &mut nsACString) -> nsresult
[src]
readonly attribute AUTF8String keyType;
pub unsafe fn GetHexRSAPublicKeyExponent(
&self,
aHexRSAPublicKeyExponent: &mut nsACString
) -> nsresult
[src]
&self,
aHexRSAPublicKeyExponent: &mut nsACString
) -> nsresult
readonly attribute AUTF8String hexRSAPublicKeyExponent;
pub unsafe fn GetHexRSAPublicKeyModulus(
&self,
aHexRSAPublicKeyModulus: &mut nsACString
) -> nsresult
[src]
&self,
aHexRSAPublicKeyModulus: &mut nsACString
) -> nsresult
readonly attribute AUTF8String hexRSAPublicKeyModulus;
pub unsafe fn GetHexDSAPrime(&self, aHexDSAPrime: &mut nsACString) -> nsresult
[src]
readonly attribute AUTF8String hexDSAPrime;
pub unsafe fn GetHexDSASubPrime(
&self,
aHexDSASubPrime: &mut nsACString
) -> nsresult
[src]
&self,
aHexDSASubPrime: &mut nsACString
) -> nsresult
readonly attribute AUTF8String hexDSASubPrime;
pub unsafe fn GetHexDSAGenerator(
&self,
aHexDSAGenerator: &mut nsACString
) -> nsresult
[src]
&self,
aHexDSAGenerator: &mut nsACString
) -> nsresult
readonly attribute AUTF8String hexDSAGenerator;
pub unsafe fn GetHexDSAPublicValue(
&self,
aHexDSAPublicValue: &mut nsACString
) -> nsresult
[src]
&self,
aHexDSAPublicValue: &mut nsACString
) -> nsresult
readonly attribute AUTF8String hexDSAPublicValue;
pub unsafe fn Sign(
&self,
aText: &nsACString,
callback: *const nsIIdentitySignCallback
) -> nsresult
[src]
&self,
aText: &nsACString,
callback: *const nsIIdentitySignCallback
) -> nsresult
void sign (in AUTF8String aText, in nsIIdentitySignCallback callback);
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 nsIIdentityKeyPair
[src]
const IID: nsIID
IID: nsIID = nsID(1939221959, 36583, 17222, [161, 43, 176, 57, 225, 217, 181, 77])
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 nsIIdentityKeyPair
[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 nsIIdentityKeyPair
[src]
type Target = nsISupports
The resulting type after dereferencing.
fn deref(&self) -> &nsISupports
[src]
Dereferences the value.