StringOf( "signatureDictionary./Prop_Build./App./Name") $signatureDictionary_Prop_Build_App_Name = $json. StringOf( "signatureDictionary./Contents") $authAttrSigningTimeUtctime = New-Object Chilkat. $unauthAttrTimestampTokenTstInfoGenTime = New-Object Chilkat. # The code below was generated using the online tool: Generate Parsing Code from JSON JsonObject # Imagine that the "json" object contains the information obtained by validating a signature. # **** It is likely you're only interested in a few items of information, and therefore you wouldn't copy all of this code, but might # **** choose to use bits and pieces to get the information you find important. # **** If your signature contains additional information not shown here, then you can use the online tool to generate the parse code. # Generate Parsing Code from JSON # **** The point of this code is to show how to get at each desired piece of information contained in the signature. # The following online tool can be used to generate code to parse any given JSON. # Here is a sample of the information you'll see. # The information can vary depending on what was included in the signature (for example, various authenticated attributes # and unauthenticated attributes may or may not be included). # When VerifySignature validates a signature, a lot of information is deposited into the JSON sigInfo object. $( "Signature " $i " validated: " $validated) EmitCompact = $false # Iterate over each signature and validate each.
# Each time we verify a signature, information about the signature is written into # sigInfo (replacing whatever sigInfo previously contained). LoadFile( "qa_data/pdf/sign_testing_1/helloSigned2.pdf") Pdf # Load a PDF that has cryptographic signatures to be validated # See Global Unlock Sample for sample code.
NET DownloadsĪdd-Type -Path "C:\chilkat\ChilkatDotNet47-9.5.0-圆4\ChilkatDotNet47.dll" # This example requires the Chilkat API to have been previously unlocked. Note: This example requires Chilkat v9.5.0.85 or greater. This example demonstrates how to validate the signatures in a PDF and also shows how to get information from each signature. (PowerShell) Validate PDF Signatures See more PDF Signatures Examples