pub struct ICEnroll2(/* private fields */);

Implementations§

§

impl ICEnroll2

pub unsafe fn createFilePKCS10<P0, P1, P2>( &self, dnname: P0, usage: P1, wszpkcs10filename: P2 ) -> Result<()>
where P0: IntoParam<BSTR>, P1: IntoParam<BSTR>, P2: IntoParam<BSTR>,

pub unsafe fn acceptFilePKCS7<P0>(&self, wszpkcs7filename: P0) -> Result<()>
where P0: IntoParam<BSTR>,

pub unsafe fn createPKCS10<P0, P1>(&self, dnname: P0, usage: P1) -> Result<BSTR>
where P0: IntoParam<BSTR>, P1: IntoParam<BSTR>,

pub unsafe fn acceptPKCS7<P0>(&self, pkcs7: P0) -> Result<()>
where P0: IntoParam<BSTR>,

pub unsafe fn getCertFromPKCS7<P0>(&self, wszpkcs7: P0) -> Result<BSTR>
where P0: IntoParam<BSTR>,

pub unsafe fn enumProviders(&self, dwindex: i32, dwflags: i32) -> Result<BSTR>

pub unsafe fn enumContainers(&self, dwindex: i32) -> Result<BSTR>

pub unsafe fn freeRequestInfo<P0>(&self, pkcs7orpkcs10: P0) -> Result<()>
where P0: IntoParam<BSTR>,

pub unsafe fn MyStoreName(&self) -> Result<BSTR>

pub unsafe fn SetMyStoreName<P0>(&self, bstrname: P0) -> Result<()>
where P0: IntoParam<BSTR>,

pub unsafe fn MyStoreType(&self) -> Result<BSTR>

pub unsafe fn SetMyStoreType<P0>(&self, bstrtype: P0) -> Result<()>
where P0: IntoParam<BSTR>,

pub unsafe fn MyStoreFlags(&self) -> Result<i32>

pub unsafe fn SetMyStoreFlags(&self, dwflags: i32) -> Result<()>

pub unsafe fn CAStoreName(&self) -> Result<BSTR>

pub unsafe fn SetCAStoreName<P0>(&self, bstrname: P0) -> Result<()>
where P0: IntoParam<BSTR>,

pub unsafe fn CAStoreType(&self) -> Result<BSTR>

pub unsafe fn SetCAStoreType<P0>(&self, bstrtype: P0) -> Result<()>
where P0: IntoParam<BSTR>,

pub unsafe fn CAStoreFlags(&self) -> Result<i32>

pub unsafe fn SetCAStoreFlags(&self, dwflags: i32) -> Result<()>

pub unsafe fn RootStoreName(&self) -> Result<BSTR>

pub unsafe fn SetRootStoreName<P0>(&self, bstrname: P0) -> Result<()>
where P0: IntoParam<BSTR>,

pub unsafe fn RootStoreType(&self) -> Result<BSTR>

pub unsafe fn SetRootStoreType<P0>(&self, bstrtype: P0) -> Result<()>
where P0: IntoParam<BSTR>,

pub unsafe fn RootStoreFlags(&self) -> Result<i32>

pub unsafe fn SetRootStoreFlags(&self, dwflags: i32) -> Result<()>

pub unsafe fn RequestStoreName(&self) -> Result<BSTR>

pub unsafe fn SetRequestStoreName<P0>(&self, bstrname: P0) -> Result<()>
where P0: IntoParam<BSTR>,

pub unsafe fn RequestStoreType(&self) -> Result<BSTR>

pub unsafe fn SetRequestStoreType<P0>(&self, bstrtype: P0) -> Result<()>
where P0: IntoParam<BSTR>,

pub unsafe fn RequestStoreFlags(&self) -> Result<i32>

pub unsafe fn SetRequestStoreFlags(&self, dwflags: i32) -> Result<()>

pub unsafe fn ContainerName(&self) -> Result<BSTR>

pub unsafe fn SetContainerName<P0>(&self, bstrcontainer: P0) -> Result<()>
where P0: IntoParam<BSTR>,

pub unsafe fn ProviderName(&self) -> Result<BSTR>

pub unsafe fn SetProviderName<P0>(&self, bstrprovider: P0) -> Result<()>
where P0: IntoParam<BSTR>,

pub unsafe fn ProviderType(&self) -> Result<i32>

pub unsafe fn SetProviderType(&self, dwtype: i32) -> Result<()>

pub unsafe fn KeySpec(&self) -> Result<i32>

pub unsafe fn SetKeySpec(&self, dw: i32) -> Result<()>

pub unsafe fn ProviderFlags(&self) -> Result<i32>

pub unsafe fn SetProviderFlags(&self, dwflags: i32) -> Result<()>

pub unsafe fn UseExistingKeySet(&self) -> Result<BOOL>

pub unsafe fn SetUseExistingKeySet<P0>( &self, fuseexistingkeys: P0 ) -> Result<()>
where P0: IntoParam<BOOL>,

pub unsafe fn GenKeyFlags(&self) -> Result<i32>

pub unsafe fn SetGenKeyFlags(&self, dwflags: i32) -> Result<()>

pub unsafe fn DeleteRequestCert(&self) -> Result<BOOL>

pub unsafe fn SetDeleteRequestCert<P0>(&self, fdelete: P0) -> Result<()>
where P0: IntoParam<BOOL>,

pub unsafe fn WriteCertToCSP(&self) -> Result<BOOL>

pub unsafe fn SetWriteCertToCSP<P0>(&self, fbool: P0) -> Result<()>
where P0: IntoParam<BOOL>,

pub unsafe fn SPCFileName(&self) -> Result<BSTR>

pub unsafe fn SetSPCFileName<P0>(&self, bstr: P0) -> Result<()>
where P0: IntoParam<BSTR>,

pub unsafe fn PVKFileName(&self) -> Result<BSTR>

pub unsafe fn SetPVKFileName<P0>(&self, bstr: P0) -> Result<()>
where P0: IntoParam<BSTR>,

pub unsafe fn HashAlgorithm(&self) -> Result<BSTR>

pub unsafe fn SetHashAlgorithm<P0>(&self, bstr: P0) -> Result<()>
where P0: IntoParam<BSTR>,

pub unsafe fn addCertTypeToRequest<P0>(&self, certtype: P0) -> Result<()>
where P0: IntoParam<BSTR>,

pub unsafe fn addNameValuePairToSignature<P0, P1>( &self, name: P0, value: P1 ) -> Result<()>
where P0: IntoParam<BSTR>, P1: IntoParam<BSTR>,

pub unsafe fn WriteCertToUserDS(&self) -> Result<BOOL>

pub unsafe fn SetWriteCertToUserDS<P0>(&self, fbool: P0) -> Result<()>
where P0: IntoParam<BOOL>,

pub unsafe fn EnableT61DNEncoding(&self) -> Result<BOOL>

pub unsafe fn SetEnableT61DNEncoding<P0>(&self, fbool: P0) -> Result<()>
where P0: IntoParam<BOOL>,

Trait Implementations§

§

impl Clone for ICEnroll2

§

fn clone(&self) -> ICEnroll2

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for ICEnroll2

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl From<&ICEnroll2> for &ICEnroll

§

fn from(value: &ICEnroll2) -> Self

Converts to this type from the input type.
§

impl From<&ICEnroll2> for &IDispatch

§

fn from(value: &ICEnroll2) -> Self

Converts to this type from the input type.
§

impl From<&ICEnroll2> for &IUnknown

§

fn from(value: &ICEnroll2) -> Self

Converts to this type from the input type.
§

impl From<&ICEnroll3> for &ICEnroll2

§

fn from(value: &ICEnroll3) -> Self

Converts to this type from the input type.
§

impl From<&ICEnroll4> for &ICEnroll2

§

fn from(value: &ICEnroll4) -> Self

Converts to this type from the input type.
§

impl From<ICEnroll2> for ICEnroll

§

fn from(value: ICEnroll2) -> Self

Converts to this type from the input type.
§

impl From<ICEnroll2> for IDispatch

§

fn from(value: ICEnroll2) -> Self

Converts to this type from the input type.
§

impl From<ICEnroll2> for IUnknown

§

fn from(value: ICEnroll2) -> Self

Converts to this type from the input type.
§

impl From<ICEnroll3> for ICEnroll2

§

fn from(value: ICEnroll3) -> Self

Converts to this type from the input type.
§

impl From<ICEnroll4> for ICEnroll2

§

fn from(value: ICEnroll4) -> Self

Converts to this type from the input type.
§

impl Interface for ICEnroll2

§

fn as_raw(&self) -> *mut c_void

Returns the raw COM interface pointer. The resulting pointer continues to be owned by the Interface implementation.
§

fn into_raw(self) -> *mut c_void

Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§

unsafe fn from_raw(raw: *mut c_void) -> Self

Creates an Interface by taking ownership of the raw COM interface pointer. Read more
§

unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>

Creates an Interface that is valid so long as the raw COM interface pointer is valid. Read more
§

fn cast<T>(&self) -> Result<T, Error>
where T: Interface,

Attempts to cast the current interface to another interface using QueryInterface. Read more
§

fn downgrade(&self) -> Result<Weak<Self>, Error>

Attempts to create a Weak reference to this object.
§

unsafe fn query(&self, iid: *const GUID, interface: *mut *mut c_void) -> HRESULT

Call QueryInterface on this interface Read more
§

impl PartialEq for ICEnroll2

§

fn eq(&self, other: &ICEnroll2) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
§

impl Eq for ICEnroll2

§

impl StructuralPartialEq for ICEnroll2

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.