The handle that describes the add-in trust policy
module used to perform this function.
CLHandle (input/optional)
The handle that describes the add-in certificate
library module used to perform this function.
CCHandle (input/optional)
The handle that describes the cryptographic context
for signing the certificate. This context also identifies the Cryptographic
Service Provider to be used to perform the signing operation. If
this handle is not provided by the caller, the trust policy module
can assume a default signing algorithm and a default CSP. If the
trust policy module does not assume defaults or the default CSP
is not available on the local system, an error occurs.
CertTemplateToBeSigned (input)
A pointer to a structure containing a certificte
template to be signed. The CRL type and encoded are included in
this structure.
SignerCertGroup (input)
A group of one or more certificates that partially
or fully represent the signer for this operation. The first certificate
in the group is the target certificate representing the signer. Use
of subsequent certificates is specific to the trust domain. For
example, in a hierarchical trust model subsequent members are intermediate
certificates of a certificate chain.
SignerVerifyContext (input/optional)
A structure containing credentials, policy information,
and contextual information to be used in the verification process.
All of the input values in the context are optional. The service
provider can define default values or can attempt to operate without
input for all the other fields of this input structure. The operation
can fail if a necessary input value is omitted and the service module
can not define an appropriate default value.
SignerVerifyResult (output/optional)
A pointer to a structure containing information
generated during the verification process. The information can include:
Evidence
(output/optional)
NumberOfEvidences
(output/optional)
SignedCert (output)
A pointer to the CSSM_DATA structure containing
the signed certificate. The SignedCert->Data is
allocated by the service provider and must be deallocated by the application.
DESCRIPTIONThe TP module decides whether the signer certificate is trusted
to sign the CertTemplateToBeSigned. The signer
certificate group is first authenticated and its applicability to
perform this operation is determined. Once the trust is established,
this operation signs the entire certificate. The caller must provide
a credential that permits the caller to use the private key for
this signing operation. The credential can be provided in the cryptographic
context CCHandle. If CCHandle is
NULL, the credentials in the SignerVerifyContext specify the
credential value. RETURN VALUEA CSSM_RETURN value indicating success or specifying a particular
error condition. The value CSSM_OK indicates success. All other
values represent an error condition. ERRORSErrors are described in the CDSA Technical Standard.