Platform SDK: Smart Card Enrollment Control

Smart Card Enrollment Control Methods

The file scrdenrl.dll provides the functionality for the Smart Card Enrollment Control. The Smart Card Enrollment Control consists of one object, identified as SCrdEnr. The following methods are provided for the Smart Card Enrollment Control object.

Method Description
enroll Requests a smart card certificate.
enumCAName Enumerates the certification authority (CA) names for a certificate template.
enumCertTemplateName Enumerates the certificate template names.
enumCSPName Enumerates the names of the cryptographic service providers.
getCACount Retrieves the count of Windows 2000 Advanced Server CAs willing to issue a certificate based on the specified certificate template.
getCAName Retrieves the specified Windows 2000 Enterprise CA name or machine name for the specified certificate template.
getCertTemplateCount Retrieves the number of certificate templates.
getCertTemplateName Retrieves the name of the certificate template for the certificate to be requested.
getCertTemplateSMIME Used to determine whether e-mail protection is one of the key usages in the certificate template.
getEnrolledCertificateName Retrieves the subject name of the enrolled certificate.
getSigningCertificateName Retrieves the subject name of the certificate to use when signing the certificate request.
getUserName Retrieves the name of the user to be issued the smart card.
resetUser Resets the user name.
selectSigningCertificate Chooses a signing certificate which will be used to sign the certificate request.
selectUserName Selects a user name.
setCAName Specifies the Windows 2000 Enterprise CA to use for the specified certificate template.
setCertTemplateName Specifies the name of the certificate template for the certificate to be requested.
setSigningCertificate Specifies a signing certificate which will be used to sign the certificate request.
setUserName Specifies the name of the user to be issued the smart card.