Methods of IEnroll4

The following methods are defined by the IEnroll4 interface or are methods the IEnroll4 interface inherits from IEnroll and IEnroll2. The property access methods are not shown here. To see the properties for IEnroll4, see Properties of IEnroll4.

Method Description
acceptFilePKCS7WStr Accepts and processes a PKCS #7 message containing a certificate, then stores the message to a file.
acceptFileResponseWStr Accepts delivery of the credentials issued in response to an earlier call to createFileRequestWStr and places the credentials in the appropriate store.
acceptPKCS7Blob Accepts and processes a PKCS #7 message containing a certificate. The PKCS #7 is input as a parameter.
acceptResponseBlob Accepts delivery of the credentials issued in response to an earlier call to IEnroll4::createRequestWStr and places the credentials in the appropriate store.
addAttributeToRequestWStr Adds an attribute to the certificate request.
AddAuthenticatedAttributesToPKCS7Request Adds authenticated attributes to a PKCS #7 certificate request.
addBlobPropertyToCertificateWStr Adds a BLOB property to a certificate.
AddCertTypeToRequestWStr Adds a certificate template to a request (used to support the enterprise certification authority (CA)).
AddCertTypeToRequestWStrEx Adds a certificate template (or "certificate type") to a request.
AddExtensionsToRequest Adds extensions to the certificate request.
addExtensionToRequestWStr Adds an extension to the request.
addNameValuePairToRequestWStr Adds a name-value string pair to the request.
AddNameValuePairToSignatureWStr Adds the name and value pair of an attribute to the request. It is up to the CA to interpret the meaning of the name-value pair.
binaryBlobToString Converts a binary data BLOB to a string.
createFilePFXWStr Saves the accepted certificate chain and private key in a file in PFX format.
createFilePKCS10WStr Creates a base64-encoded PKCS #10 certificate request and saves it in a file.
createFileRequestWStr Creates a PKCS #10 certificate request, a PKCS #7 request, or a Full CMC certificate request and stores it in a file.
createPFXWStr Saves the accepted certificate chain and private key in a Personal Information Exchange (PFX) format string. The PFX format is also known as PKCS #12.
createPKCS10WStr Creates a base64-encoded PKCS #10 certificate request.
CreatePKCS7RequestFromRequest Creates a PKCS #7 request from an existing certificate request.
createRequestWStr Creates a PKCS #10, PKCS #7, or Full CMC format certificate request and stores it in a string.
EnumAlgs Retrieves the IDs of cryptographic algorithms in a given algorithm class that are supported by the current CSP.
enumContainersWStr Retrieves the names of the containers for the CSP specified by the ProviderNameWStr property.
enumPendingRequestWStr Enumerates pending certificate requests and retrieves a specified property from each.
enumProvidersWStr Retrieves the names of the available cryptographic service providers (CSPs) specified by the ProviderType property.
freeRequestInfoBlob Deletes a certificate context.
GetAlgNameWStr Retrieves the name of a cryptographic algorithm given its ID. The values retrieved by this method depend on the current CSP.
getCAStore Reserved for future use.
getCertContextFromFileResponseWStr Retrieves the certificate from a file containing a response from a CA.
getCertContextFromPKCS7 Retrieves the certificate, contained in a PKCS #7 message, that was issued in response to a PKCS #10 certificate request.
getCertContextFromResponseBlob Retrieves the certificate from a CA's response.
GetKeyLen Retrieves the minimum and maximum key lengths for the signature and exchange keys.
GetKeyLenEx Retrieves size information for the signature and exchange keys.
getMyStore Reserved for future use.
GetPrivateKeyArchiveCertificate Retrieves the certificate used to archive the private key.
getProviderTypeWStr Retrieves the type of the specified CSP.
getROOTHStore Reserved for future use.
GetSupportedKeySpec Retrieves information regarding the CSP's support for signature or exchange keys.
InstallPKCS7Blob Processes a certificate or chain of certificates, placing them into the appropriate certificate stores. This method differs from the acceptPKCS7Blob method in that InstallPKCS7Blob does not receive a request certificate.
InstallPKCS7BlobEx Extends InstallPKCS7Blob by returning the number of certificates actually installed in local stores.
removePendingRequestWStr Removes a pending request from the client's request store.
Reset Returns the certificate enrollment control object to its initial state.
resetAttributes Removes all attributes from the request.
resetExtensions Removes all extensions from the request.
SetHStoreCA Specifies the handle to use for the CA store.
SetHStoreMy Specifies the handle to use for the MY store.
SetHStoreRequest Specifies the handle to use for the request store.
SetHStoreROOT Specifies the handle to use for the ROOT store.
setPendingRequestInfoWStr Sets properties for a pending request.
SetPrivateKeyArchiveCertificate Specifies the certificate used to archive the private key.
SetSignerCertificate Specifies the signer's certificate.
stringToBinaryBlob Converts a string to a binary data BLOB.