pub trait ICEnroll4_Impl: Sized + ICEnroll3_Impl {
Show 33 methods // Required methods fn SetPrivateKeyArchiveCertificate(&self, bstrcert: &BSTR) -> Result<()>; fn PrivateKeyArchiveCertificate(&self) -> Result<BSTR>; fn SetThumbPrint(&self, bstrthumbprint: &BSTR) -> Result<()>; fn ThumbPrint(&self) -> Result<BSTR>; fn binaryToString(&self, flags: i32, strbinary: &BSTR) -> Result<BSTR>; fn stringToBinary(&self, flags: i32, strencoded: &BSTR) -> Result<BSTR>; fn addExtensionToRequest( &self, flags: i32, strname: &BSTR, strvalue: &BSTR, ) -> Result<()>; fn addAttributeToRequest( &self, flags: i32, strname: &BSTR, strvalue: &BSTR, ) -> Result<()>; fn addNameValuePairToRequest( &self, flags: i32, strname: &BSTR, strvalue: &BSTR, ) -> Result<()>; fn resetExtensions(&self) -> Result<()>; fn resetAttributes(&self) -> Result<()>; fn createRequest( &self, flags: CERT_CREATE_REQUEST_FLAGS, strdnname: &BSTR, usage: &BSTR, ) -> Result<BSTR>; fn createFileRequest( &self, flags: CERT_CREATE_REQUEST_FLAGS, strdnname: &BSTR, strusage: &BSTR, strrequestfilename: &BSTR, ) -> Result<()>; fn acceptResponse(&self, strresponse: &BSTR) -> Result<()>; fn acceptFileResponse(&self, strresponsefilename: &BSTR) -> Result<()>; fn getCertFromResponse(&self, strresponse: &BSTR) -> Result<BSTR>; fn getCertFromFileResponse( &self, strresponsefilename: &BSTR, ) -> Result<BSTR>; fn createPFX(&self, strpassword: &BSTR) -> Result<BSTR>; fn createFilePFX( &self, strpassword: &BSTR, strpfxfilename: &BSTR, ) -> Result<()>; fn setPendingRequestInfo( &self, lrequestid: i32, strcadns: &BSTR, strcaname: &BSTR, strfriendlyname: &BSTR, ) -> Result<()>; fn enumPendingRequest( &self, lindex: i32, ldesiredproperty: PENDING_REQUEST_DESIRED_PROPERTY, ) -> Result<VARIANT>; fn removePendingRequest(&self, strthumbprint: &BSTR) -> Result<()>; fn GetKeyLenEx( &self, lsizespec: XEKL_KEYSIZE, lkeyspec: XEKL_KEYSPEC, ) -> Result<i32>; fn InstallPKCS7Ex(&self, pkcs7: &BSTR) -> Result<i32>; fn addCertTypeToRequestEx( &self, ltype: ADDED_CERT_TYPE, bstroidorname: &BSTR, lmajorversion: i32, fminorversion: BOOL, lminorversion: i32, ) -> Result<()>; fn getProviderType(&self, strprovname: &BSTR) -> Result<i32>; fn SetSignerCertificate(&self, bstrcert: &BSTR) -> Result<()>; fn SetClientId(&self, lclientid: i32) -> Result<()>; fn ClientId(&self) -> Result<i32>; fn addBlobPropertyToCertificate( &self, lpropertyid: i32, lreserved: i32, bstrproperty: &BSTR, ) -> Result<()>; fn resetBlobProperties(&self) -> Result<()>; fn SetIncludeSubjectKeyID(&self, finclude: BOOL) -> Result<()>; fn IncludeSubjectKeyID(&self) -> Result<BOOL>;
}

Required Methods§

fn SetPrivateKeyArchiveCertificate(&self, bstrcert: &BSTR) -> Result<()>

fn PrivateKeyArchiveCertificate(&self) -> Result<BSTR>

fn SetThumbPrint(&self, bstrthumbprint: &BSTR) -> Result<()>

fn ThumbPrint(&self) -> Result<BSTR>

fn binaryToString(&self, flags: i32, strbinary: &BSTR) -> Result<BSTR>

fn stringToBinary(&self, flags: i32, strencoded: &BSTR) -> Result<BSTR>

fn addExtensionToRequest( &self, flags: i32, strname: &BSTR, strvalue: &BSTR, ) -> Result<()>

fn addAttributeToRequest( &self, flags: i32, strname: &BSTR, strvalue: &BSTR, ) -> Result<()>

fn addNameValuePairToRequest( &self, flags: i32, strname: &BSTR, strvalue: &BSTR, ) -> Result<()>

fn resetExtensions(&self) -> Result<()>

fn resetAttributes(&self) -> Result<()>

fn createRequest( &self, flags: CERT_CREATE_REQUEST_FLAGS, strdnname: &BSTR, usage: &BSTR, ) -> Result<BSTR>

fn createFileRequest( &self, flags: CERT_CREATE_REQUEST_FLAGS, strdnname: &BSTR, strusage: &BSTR, strrequestfilename: &BSTR, ) -> Result<()>

fn acceptResponse(&self, strresponse: &BSTR) -> Result<()>

fn acceptFileResponse(&self, strresponsefilename: &BSTR) -> Result<()>

fn getCertFromResponse(&self, strresponse: &BSTR) -> Result<BSTR>

fn getCertFromFileResponse(&self, strresponsefilename: &BSTR) -> Result<BSTR>

fn createPFX(&self, strpassword: &BSTR) -> Result<BSTR>

fn createFilePFX(&self, strpassword: &BSTR, strpfxfilename: &BSTR) -> Result<()>

fn setPendingRequestInfo( &self, lrequestid: i32, strcadns: &BSTR, strcaname: &BSTR, strfriendlyname: &BSTR, ) -> Result<()>

fn enumPendingRequest( &self, lindex: i32, ldesiredproperty: PENDING_REQUEST_DESIRED_PROPERTY, ) -> Result<VARIANT>

fn removePendingRequest(&self, strthumbprint: &BSTR) -> Result<()>

fn GetKeyLenEx( &self, lsizespec: XEKL_KEYSIZE, lkeyspec: XEKL_KEYSPEC, ) -> Result<i32>

fn InstallPKCS7Ex(&self, pkcs7: &BSTR) -> Result<i32>

fn addCertTypeToRequestEx( &self, ltype: ADDED_CERT_TYPE, bstroidorname: &BSTR, lmajorversion: i32, fminorversion: BOOL, lminorversion: i32, ) -> Result<()>

fn getProviderType(&self, strprovname: &BSTR) -> Result<i32>

fn SetSignerCertificate(&self, bstrcert: &BSTR) -> Result<()>

fn SetClientId(&self, lclientid: i32) -> Result<()>

fn ClientId(&self) -> Result<i32>

fn addBlobPropertyToCertificate( &self, lpropertyid: i32, lreserved: i32, bstrproperty: &BSTR, ) -> Result<()>

fn resetBlobProperties(&self) -> Result<()>

fn SetIncludeSubjectKeyID(&self, finclude: BOOL) -> Result<()>

fn IncludeSubjectKeyID(&self) -> Result<BOOL>

Object Safety§

This trait is not object safe.

Implementors§