windows::Win32::Security::Cryptography::Certificates

Trait IEnroll4_Impl

pub trait IEnroll4_Impl: IEnroll2_Impl {
Show 32 methods // Required methods fn SetThumbPrintWStr( &self, thumbprintblob: &CRYPT_INTEGER_BLOB, ) -> Result<()>; fn ThumbPrintWStr( &self, thumbprintblob: *mut CRYPT_INTEGER_BLOB, ) -> Result<()>; fn SetPrivateKeyArchiveCertificate( &self, pprivatekeyarchivecert: *const CERT_CONTEXT, ) -> Result<()>; fn GetPrivateKeyArchiveCertificate(&self) -> *mut CERT_CONTEXT; fn binaryBlobToString( &self, flags: i32, pblobbinary: *mut CRYPT_INTEGER_BLOB, ppwszstring: *mut PWSTR, ) -> Result<()>; fn stringToBinaryBlob( &self, flags: i32, pwszstring: &PCWSTR, pblobbinary: *mut CRYPT_INTEGER_BLOB, pdwskip: *mut i32, pdwflags: *mut i32, ) -> Result<()>; fn addExtensionToRequestWStr( &self, flags: i32, pwszname: &PCWSTR, pblobvalue: *mut CRYPT_INTEGER_BLOB, ) -> Result<()>; fn addAttributeToRequestWStr( &self, flags: i32, pwszname: &PCWSTR, pblobvalue: *mut CRYPT_INTEGER_BLOB, ) -> Result<()>; fn addNameValuePairToRequestWStr( &self, flags: i32, pwszname: &PCWSTR, pwszvalue: &PCWSTR, ) -> Result<()>; fn resetExtensions(&self) -> Result<()>; fn resetAttributes(&self) -> Result<()>; fn createRequestWStr( &self, flags: CERT_CREATE_REQUEST_FLAGS, pwszdnname: &PCWSTR, pwszusage: &PCWSTR, pblobrequest: *mut CRYPT_INTEGER_BLOB, ) -> Result<()>; fn createFileRequestWStr( &self, flags: CERT_CREATE_REQUEST_FLAGS, pwszdnname: &PCWSTR, pwszusage: &PCWSTR, pwszrequestfilename: &PCWSTR, ) -> Result<()>; fn acceptResponseBlob( &self, pblobresponse: *mut CRYPT_INTEGER_BLOB, ) -> Result<()>; fn acceptFileResponseWStr( &self, pwszresponsefilename: &PCWSTR, ) -> Result<()>; fn getCertContextFromResponseBlob( &self, pblobresponse: *mut CRYPT_INTEGER_BLOB, ppcertcontext: *mut *mut CERT_CONTEXT, ) -> Result<()>; fn getCertContextFromFileResponseWStr( &self, pwszresponsefilename: &PCWSTR, ppcertcontext: *mut *mut CERT_CONTEXT, ) -> Result<()>; fn createPFXWStr( &self, pwszpassword: &PCWSTR, pblobpfx: *mut CRYPT_INTEGER_BLOB, ) -> Result<()>; fn createFilePFXWStr( &self, pwszpassword: &PCWSTR, pwszpfxfilename: &PCWSTR, ) -> Result<()>; fn setPendingRequestInfoWStr( &self, lrequestid: i32, pwszcadns: &PCWSTR, pwszcaname: &PCWSTR, pwszfriendlyname: &PCWSTR, ) -> Result<()>; fn enumPendingRequestWStr( &self, lindex: i32, ldesiredproperty: PENDING_REQUEST_DESIRED_PROPERTY, ppproperty: *mut c_void, ) -> Result<()>; fn removePendingRequestWStr( &self, thumbprintblob: &CRYPT_INTEGER_BLOB, ) -> Result<()>; fn GetKeyLenEx( &self, lsizespec: XEKL_KEYSIZE, lkeyspec: XEKL_KEYSPEC, pdwkeysize: *mut i32, ) -> Result<()>; fn InstallPKCS7BlobEx( &self, pblobpkcs7: *mut CRYPT_INTEGER_BLOB, plcertinstalled: *mut i32, ) -> Result<()>; fn AddCertTypeToRequestWStrEx( &self, ltype: ADDED_CERT_TYPE, pwszoidorname: &PCWSTR, lmajorversion: i32, fminorversion: BOOL, lminorversion: i32, ) -> Result<()>; fn getProviderTypeWStr( &self, pwszprovname: &PCWSTR, plprovtype: *mut i32, ) -> Result<()>; fn addBlobPropertyToCertificateWStr( &self, lpropertyid: i32, lreserved: i32, pblobproperty: *mut CRYPT_INTEGER_BLOB, ) -> Result<()>; fn SetSignerCertificate( &self, psignercert: *const CERT_CONTEXT, ) -> Result<()>; fn SetClientId(&self, lclientid: i32) -> Result<()>; fn ClientId(&self, plclientid: *mut i32) -> Result<()>; fn SetIncludeSubjectKeyID(&self, finclude: BOOL) -> Result<()>; fn IncludeSubjectKeyID(&self, pfinclude: *mut BOOL) -> Result<()>;
}

Required Methods§

fn SetThumbPrintWStr(&self, thumbprintblob: &CRYPT_INTEGER_BLOB) -> Result<()>

fn ThumbPrintWStr(&self, thumbprintblob: *mut CRYPT_INTEGER_BLOB) -> Result<()>

fn SetPrivateKeyArchiveCertificate( &self, pprivatekeyarchivecert: *const CERT_CONTEXT, ) -> Result<()>

fn GetPrivateKeyArchiveCertificate(&self) -> *mut CERT_CONTEXT

fn binaryBlobToString( &self, flags: i32, pblobbinary: *mut CRYPT_INTEGER_BLOB, ppwszstring: *mut PWSTR, ) -> Result<()>

fn stringToBinaryBlob( &self, flags: i32, pwszstring: &PCWSTR, pblobbinary: *mut CRYPT_INTEGER_BLOB, pdwskip: *mut i32, pdwflags: *mut i32, ) -> Result<()>

fn addExtensionToRequestWStr( &self, flags: i32, pwszname: &PCWSTR, pblobvalue: *mut CRYPT_INTEGER_BLOB, ) -> Result<()>

fn addAttributeToRequestWStr( &self, flags: i32, pwszname: &PCWSTR, pblobvalue: *mut CRYPT_INTEGER_BLOB, ) -> Result<()>

fn addNameValuePairToRequestWStr( &self, flags: i32, pwszname: &PCWSTR, pwszvalue: &PCWSTR, ) -> Result<()>

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

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

fn createRequestWStr( &self, flags: CERT_CREATE_REQUEST_FLAGS, pwszdnname: &PCWSTR, pwszusage: &PCWSTR, pblobrequest: *mut CRYPT_INTEGER_BLOB, ) -> Result<()>

fn createFileRequestWStr( &self, flags: CERT_CREATE_REQUEST_FLAGS, pwszdnname: &PCWSTR, pwszusage: &PCWSTR, pwszrequestfilename: &PCWSTR, ) -> Result<()>

fn acceptResponseBlob( &self, pblobresponse: *mut CRYPT_INTEGER_BLOB, ) -> Result<()>

fn acceptFileResponseWStr(&self, pwszresponsefilename: &PCWSTR) -> Result<()>

fn getCertContextFromResponseBlob( &self, pblobresponse: *mut CRYPT_INTEGER_BLOB, ppcertcontext: *mut *mut CERT_CONTEXT, ) -> Result<()>

fn getCertContextFromFileResponseWStr( &self, pwszresponsefilename: &PCWSTR, ppcertcontext: *mut *mut CERT_CONTEXT, ) -> Result<()>

fn createPFXWStr( &self, pwszpassword: &PCWSTR, pblobpfx: *mut CRYPT_INTEGER_BLOB, ) -> Result<()>

fn createFilePFXWStr( &self, pwszpassword: &PCWSTR, pwszpfxfilename: &PCWSTR, ) -> Result<()>

fn setPendingRequestInfoWStr( &self, lrequestid: i32, pwszcadns: &PCWSTR, pwszcaname: &PCWSTR, pwszfriendlyname: &PCWSTR, ) -> Result<()>

fn enumPendingRequestWStr( &self, lindex: i32, ldesiredproperty: PENDING_REQUEST_DESIRED_PROPERTY, ppproperty: *mut c_void, ) -> Result<()>

fn removePendingRequestWStr( &self, thumbprintblob: &CRYPT_INTEGER_BLOB, ) -> Result<()>

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

fn InstallPKCS7BlobEx( &self, pblobpkcs7: *mut CRYPT_INTEGER_BLOB, plcertinstalled: *mut i32, ) -> Result<()>

fn AddCertTypeToRequestWStrEx( &self, ltype: ADDED_CERT_TYPE, pwszoidorname: &PCWSTR, lmajorversion: i32, fminorversion: BOOL, lminorversion: i32, ) -> Result<()>

fn getProviderTypeWStr( &self, pwszprovname: &PCWSTR, plprovtype: *mut i32, ) -> Result<()>

fn addBlobPropertyToCertificateWStr( &self, lpropertyid: i32, lreserved: i32, pblobproperty: *mut CRYPT_INTEGER_BLOB, ) -> Result<()>

fn SetSignerCertificate(&self, psignercert: *const CERT_CONTEXT) -> Result<()>

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

fn ClientId(&self, plclientid: *mut i32) -> Result<()>

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

fn IncludeSubjectKeyID(&self, pfinclude: *mut BOOL) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§