pub trait IX509CertificateRequestPkcs10_Impl: Sized + IX509CertificateRequest_Impl {
Show 28 methods
// Required methods
fn InitializeFromTemplateName(
&self,
context: X509CertificateEnrollmentContext,
strtemplatename: &BSTR,
) -> Result<()>;
fn InitializeFromPrivateKey(
&self,
context: X509CertificateEnrollmentContext,
pprivatekey: Option<&IX509PrivateKey>,
strtemplatename: &BSTR,
) -> Result<()>;
fn InitializeFromPublicKey(
&self,
context: X509CertificateEnrollmentContext,
ppublickey: Option<&IX509PublicKey>,
strtemplatename: &BSTR,
) -> Result<()>;
fn InitializeFromCertificate(
&self,
context: X509CertificateEnrollmentContext,
strcertificate: &BSTR,
encoding: EncodingType,
inheritoptions: X509RequestInheritOptions,
) -> Result<()>;
fn InitializeDecode(
&self,
strencodeddata: &BSTR,
encoding: EncodingType,
) -> Result<()>;
fn CheckSignature(
&self,
allowedsignaturetypes: Pkcs10AllowedSignatureTypes,
) -> Result<()>;
fn IsSmartCard(&self) -> Result<VARIANT_BOOL>;
fn TemplateObjectId(&self) -> Result<IObjectId>;
fn PublicKey(&self) -> Result<IX509PublicKey>;
fn PrivateKey(&self) -> Result<IX509PrivateKey>;
fn NullSigned(&self) -> Result<VARIANT_BOOL>;
fn ReuseKey(&self) -> Result<VARIANT_BOOL>;
fn get_OldCertificate(&self, encoding: EncodingType) -> Result<BSTR>;
fn Subject(&self) -> Result<IX500DistinguishedName>;
fn SetSubject(&self, pvalue: Option<&IX500DistinguishedName>) -> Result<()>;
fn CspStatuses(&self) -> Result<ICspStatuses>;
fn SmimeCapabilities(&self) -> Result<VARIANT_BOOL>;
fn SetSmimeCapabilities(&self, value: VARIANT_BOOL) -> Result<()>;
fn SignatureInformation(&self) -> Result<IX509SignatureInformation>;
fn KeyContainerNamePrefix(&self) -> Result<BSTR>;
fn SetKeyContainerNamePrefix(&self, value: &BSTR) -> Result<()>;
fn CryptAttributes(&self) -> Result<ICryptAttributes>;
fn X509Extensions(&self) -> Result<IX509Extensions>;
fn CriticalExtensions(&self) -> Result<IObjectIds>;
fn SuppressOids(&self) -> Result<IObjectIds>;
fn get_RawDataToBeSigned(&self, encoding: EncodingType) -> Result<BSTR>;
fn get_Signature(&self, encoding: EncodingType) -> Result<BSTR>;
fn GetCspStatuses(&self, keyspec: X509KeySpec) -> Result<ICspStatuses>;
}
Required Methods§
fn InitializeFromTemplateName( &self, context: X509CertificateEnrollmentContext, strtemplatename: &BSTR, ) -> Result<()>
fn InitializeFromPrivateKey( &self, context: X509CertificateEnrollmentContext, pprivatekey: Option<&IX509PrivateKey>, strtemplatename: &BSTR, ) -> Result<()>
fn InitializeFromPublicKey( &self, context: X509CertificateEnrollmentContext, ppublickey: Option<&IX509PublicKey>, strtemplatename: &BSTR, ) -> Result<()>
fn InitializeFromCertificate( &self, context: X509CertificateEnrollmentContext, strcertificate: &BSTR, encoding: EncodingType, inheritoptions: X509RequestInheritOptions, ) -> Result<()>
fn InitializeDecode( &self, strencodeddata: &BSTR, encoding: EncodingType, ) -> Result<()>
fn CheckSignature( &self, allowedsignaturetypes: Pkcs10AllowedSignatureTypes, ) -> Result<()>
fn IsSmartCard(&self) -> Result<VARIANT_BOOL>
fn TemplateObjectId(&self) -> Result<IObjectId>
fn PublicKey(&self) -> Result<IX509PublicKey>
fn PrivateKey(&self) -> Result<IX509PrivateKey>
fn NullSigned(&self) -> Result<VARIANT_BOOL>
fn ReuseKey(&self) -> Result<VARIANT_BOOL>
fn get_OldCertificate(&self, encoding: EncodingType) -> Result<BSTR>
fn Subject(&self) -> Result<IX500DistinguishedName>
fn SetSubject(&self, pvalue: Option<&IX500DistinguishedName>) -> Result<()>
fn CspStatuses(&self) -> Result<ICspStatuses>
fn SmimeCapabilities(&self) -> Result<VARIANT_BOOL>
fn SetSmimeCapabilities(&self, value: VARIANT_BOOL) -> Result<()>
fn SignatureInformation(&self) -> Result<IX509SignatureInformation>
fn KeyContainerNamePrefix(&self) -> Result<BSTR>
fn SetKeyContainerNamePrefix(&self, value: &BSTR) -> Result<()>
fn CryptAttributes(&self) -> Result<ICryptAttributes>
fn X509Extensions(&self) -> Result<IX509Extensions>
fn CriticalExtensions(&self) -> Result<IObjectIds>
fn SuppressOids(&self) -> Result<IObjectIds>
fn get_RawDataToBeSigned(&self, encoding: EncodingType) -> Result<BSTR>
fn get_Signature(&self, encoding: EncodingType) -> Result<BSTR>
fn GetCspStatuses(&self, keyspec: X509KeySpec) -> Result<ICspStatuses>
Object Safety§
This trait is not object safe.