dxX509IsUsableForDigitalSignature(TdxX509Certificate) Method
Identifies if it is possible to use a specified X.509 certificate to sign documents.
Declaration
function dxX509IsUsableForDigitalSignature(ACertificate: TdxX509Certificate): Boolean;
Parameters
Name | Type | Description |
---|---|---|
ACertificate | TdxX509Certificate | An X.509 public key certificate. |
Returns
Type | Description |
---|---|
Boolean | True, if it is possible to use an X.509 certificate to sign documents; otherwise, False. |
Remarks
Call this global function and pass a target certificate as the ACertificate parameter to identify if you can use the certificate to sign documents. The dxX509IsUsableForDigitalSignature function returns True only if the following conditions are met:
The specified certificate has a private key.
The certificate’s KeyUsage property value includes the kufDigitalSignature flag.
Otherwise, the dxX509IsUsableForDigitalSignature function returns False.
See Also