To perform X.509 Public Key Infrastructure (RFC 3161) time stamping, use the SignerTimeStampEx2 function. This function supports Authenticode time stamping. Signs and time stamps the specified file, allowing multiple nested signatures. Signs the specified file and returns a pointer to the signed data. Functionįrees a SIGNER_CONTEXT structure allocated by a previous call to the SignerSignEx function.Ĭalls the GetLastError function and converts the return code to an HRESULT. Provides functions to sign and time stamp data. Releases the cryptographic XML data provider.Įnumerates predefined and registered CRYPT_XML_ALGORITHM_INFO entries. Performs a cryptographic signature validation of a SignedInfo element.Ĭreates a transform for a specified data provider. Sets the HMAC secret on the handle before calling the CryptXmlSign or CryptXmlVerify function.Ĭreates a cryptographic signature of a SignedInfo element. The document context can include one or more Signature elements. Opens an XML digital signature to decode and returns the handle of the document context that encapsulates a CRYPT_XML_SIGNATURE structure. The handle encapsulates a document context with a single CRYPT_XML_SIGNATURE structure and remains open until the CryptXmlClose function is called. Opens an XML digital signature to encode and returns a handle of the opened Signature element. Imports the public key specified by the supplied handle. Returns information about the default transform chain engine. Returns a CRYPT_XML_STATUS structure that contains status information about the object specified by the supplied handle. Returns the Reference element specified by the supplied handle. Returns the document context specified by the supplied handle. Retrieves a pointer to the cryptographic extension functions for the specified algorithm.Įncodes signature data by using the supplied XML writer callback function.ĭecodes the CRYPT_XML_ALGORITHM structure and returns information about the algorithm. Parses the KeyValue element and creates a Cryptography API: Next Generation (CNG) BCrypt key handle to verify a signature.Įncodes SignatureMethod or DigestMethod elements for agile algorithms with default parameters.ĭecodes the XML algorithm and returns information about the algorithm. This function applies transforms before updating the digest.įrees the CRYPT_XML_DIGEST allocated by the CryptXmlDllCreateDigest function.Ĭreates a digest object for the specified method. Used by an application to digest the resolved reference. Initiates the hashing of a stream of data.Īdds the Object element to the Signature in the Document Context opened for encoding.Ĭloses a cryptographic XML object handle. ![]() FunctionĬomputes the final hash of the data entered by the MD5Update function. For information about XML formatted signatures, see the XML-Signature Syntax and Processing specification at. The cryptographic XML functions provide an API for creating and representing digital signatures by using XML formatted data. Certificate Services Backup and Restore Functions.Certificate Chain Verification Functions.Certificate and Certificate Store Maintenance Functions.Certificate and Certificate Store Functions.Data Encryption and Decryption Functions.Cryptography functions are categorized according to usage as follows:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |