Skip navigation links
JNA API 5.10.0

Interface WinCrypt.CryptGetSignerCertificateCallback

    • Method Detail

      • callback

        WinCrypt.CERT_CONTEXT.ByReference callback(Pointer pvGetArg,
                                                   int dwCertEncodingType,
                                                   WinCrypt.CERT_INFO pSignerId,
                                                   WinCrypt.HCERTSTORE hMsgCertStore)
        pvGetArg - A pointer to user-defined data passed on to the verification function as specified in the CRYPT_VERIFY_MESSAGE_PARA structure.
        dwCertEncodingType - Specifies the type of encoding used. It is always acceptable to specify both the certificate and message encoding types by combining them with a bitwise-OR operation as shown in the following example:


        Currently defined encoding types are:

        • X509_ASN_ENCODING
        pSignerId - A pointer to a CERT_INFO structure containing the issuer and serial number. Can be NULL if there is no content or signer.
        hMsgCertStore - A handle to the certificate store containing all the certificates and CRLs in the signed message.
        Pointer to a read-only WinCrypt.CERT_CONTEXT if a signer certificate is found, null if the function fails.
JNA API 5.10.0

Copyright © 2007-2018 Timothy Wall. All Rights Reserved.