MessageTimestampVerifier Class
Properties Methods Events Configuration Settings Errors
The MessageTimestampVerifier class verifies message timestamps.
Syntax
SecureBlackboxMessageTimestampVerifier
SecureBlackboxMessageTimestampVerifierSwift
Remarks
PKCS#7 (Public Key Cryptography Standard #7) is a common format used to store encrypted and signed data. It is used by a variety of protocols, including S/MIME and CMS.
Property List
The following is the full list of the properties of the class with short descriptions. Click on the links for further details.
- certCount | The number of records in the Cert arrays. |
- certBytes:(int)certIndex | Returns raw certificate data in DER format. |
- certCA:(int)certIndex | Indicates whether the certificate has a CA capability (a setting in BasicConstraints extension). |
- certCAKeyID:(int)certIndex | A unique identifier (fingerprint) of the CA certificate's private key. |
- certCRLDistributionPoints:(int)certIndex | Locations of the CRL (Certificate Revocation List) distribution points used to check this certificate's validity. |
- certCurve:(int)certIndex | Specifies the elliptic curve of the EC public key. |
- certFingerprint:(int)certIndex | Contains the fingerprint (a hash imprint) of this certificate. |
- certFriendlyName:(int)certIndex | Contains an associated alias (friendly name) of the certificate. |
- certHandle:(int)certIndex | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
- certHashAlgorithm:(int)certIndex | Specifies the hash algorithm to be used in the operations on the certificate (such as key signing) SB_HASH_ALGORITHM_SHA1 SHA1 SB_HASH_ALGORITHM_SHA224 SHA224 SB_HASH_ALGORITHM_SHA256 SHA256 SB_HASH_ALGORITHM_SHA384 SHA384 SB_HASH_ALGORITHM_SHA512 SHA512 SB_HASH_ALGORITHM_MD2 MD2 SB_HASH_ALGORITHM_MD4 MD4 SB_HASH_ALGORITHM_MD5 MD5 SB_HASH_ALGORITHM_RIPEMD160 RIPEMD160 SB_HASH_ALGORITHM_CRC32 CRC32 SB_HASH_ALGORITHM_SSL3 SSL3 SB_HASH_ALGORITHM_GOST_R3411_1994 GOST1994 SB_HASH_ALGORITHM_WHIRLPOOL WHIRLPOOL SB_HASH_ALGORITHM_POLY1305 POLY1305 SB_HASH_ALGORITHM_SHA3_224 SHA3_224 SB_HASH_ALGORITHM_SHA3_256 SHA3_256 SB_HASH_ALGORITHM_SHA3_384 SHA3_384 SB_HASH_ALGORITHM_SHA3_512 SHA3_512 SB_HASH_ALGORITHM_BLAKE2S_128 BLAKE2S_128 SB_HASH_ALGORITHM_BLAKE2S_160 BLAKE2S_160 SB_HASH_ALGORITHM_BLAKE2S_224 BLAKE2S_224 SB_HASH_ALGORITHM_BLAKE2S_256 BLAKE2S_256 SB_HASH_ALGORITHM_BLAKE2B_160 BLAKE2B_160 SB_HASH_ALGORITHM_BLAKE2B_256 BLAKE2B_256 SB_HASH_ALGORITHM_BLAKE2B_384 BLAKE2B_384 SB_HASH_ALGORITHM_BLAKE2B_512 BLAKE2B_512 SB_HASH_ALGORITHM_SHAKE_128 SHAKE_128 SB_HASH_ALGORITHM_SHAKE_256 SHAKE_256 SB_HASH_ALGORITHM_SHAKE_128_LEN SHAKE_128_LEN SB_HASH_ALGORITHM_SHAKE_256_LEN SHAKE_256_LEN . |
- certIssuer:(int)certIndex | The common name of the certificate issuer (CA), typically a company name. |
- certIssuerRDN:(int)certIndex | A collection of information, in the form of [OID, Value] pairs, uniquely identifying the certificate issuer. |
- certKeyAlgorithm:(int)certIndex | Specifies the public key algorithm of this certificate. |
- certKeyBits:(int)certIndex | Returns the length of the public key. |
- certKeyFingerprint:(int)certIndex | Returns a fingerprint of the public key contained in the certificate. |
- certKeyUsage:(int)certIndex | Indicates the purposes of the key contained in the certificate, in the form of an OR'ed flag set. |
- certKeyValid:(int)certIndex | Returns True if the certificate's key is cryptographically valid, and False otherwise. |
- certOCSPLocations:(int)certIndex | Locations of OCSP (Online Certificate Status Protocol) services that can be used to check this certificate's validity, as recorded by the CA. |
- certPolicyIDs:(int)certIndex | Contains identifiers (OIDs) of the applicable certificate policies. |
- certPublicKeyBytes:(int)certIndex | Contains the certificate's public key in DER format. |
- certSelfSigned:(int)certIndex | Indicates whether the certificate is self-signed (root) or signed by an external CA. |
- certSerialNumber:(int)certIndex | Returns the certificate's serial number. |
- certSigAlgorithm:(int)certIndex | Indicates the algorithm that was used by the CA to sign this certificate. |
- certSubject:(int)certIndex | The common name of the certificate holder, typically an individual's name, a URL, an e-mail address, or a company name. |
- certSubjectKeyID:(int)certIndex | Contains a unique identifier (fingerprint) of the certificate's private key. |
- certSubjectRDN:(int)certIndex | A collection of information, in the form of [OID, Value] pairs, uniquely identifying the certificate holder (subject). |
- certValidFrom:(int)certIndex | The time point at which the certificate becomes valid, in UTC. |
- certValidTo:(int)certIndex | The time point at which the certificate expires, in UTC. |
- dataBytes | Use this property to pass the timestamped data to class in the byte array form. |
- dataFile | The name of the file containing the originally timestamped data. |
- dataFileName | Returns the data filename as recorded in the timestamp. |
- dataURI | Returns the data URI as recorded in the timestamp. |
- inputBytes | Use this property to pass the input to class in the byte array form. |
- inputFile | Path to the file containing the timestamped message. |
- outputBytes | Use this property to read the output the class object has produced. |
- outputFile | Path to the file to save the extracted data to. |
- signatureValidationResult | The signature validation result. |
- signingCertBytes | Returns raw certificate data in DER format. |
- signingCertCA | Indicates whether the certificate has a CA capability (a setting in BasicConstraints extension). |
- signingCertCAKeyID | A unique identifier (fingerprint) of the CA certificate's private key. |
- signingCertCRLDistributionPoints | Locations of the CRL (Certificate Revocation List) distribution points used to check this certificate's validity. |
- signingCertCurve | Specifies the elliptic curve of the EC public key. |
- signingCertFingerprint | Contains the fingerprint (a hash imprint) of this certificate. |
- signingCertFriendlyName | Contains an associated alias (friendly name) of the certificate. |
- signingCertHandle | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
- signingCertHashAlgorithm | Specifies the hash algorithm to be used in the operations on the certificate (such as key signing) SB_HASH_ALGORITHM_SHA1 SHA1 SB_HASH_ALGORITHM_SHA224 SHA224 SB_HASH_ALGORITHM_SHA256 SHA256 SB_HASH_ALGORITHM_SHA384 SHA384 SB_HASH_ALGORITHM_SHA512 SHA512 SB_HASH_ALGORITHM_MD2 MD2 SB_HASH_ALGORITHM_MD4 MD4 SB_HASH_ALGORITHM_MD5 MD5 SB_HASH_ALGORITHM_RIPEMD160 RIPEMD160 SB_HASH_ALGORITHM_CRC32 CRC32 SB_HASH_ALGORITHM_SSL3 SSL3 SB_HASH_ALGORITHM_GOST_R3411_1994 GOST1994 SB_HASH_ALGORITHM_WHIRLPOOL WHIRLPOOL SB_HASH_ALGORITHM_POLY1305 POLY1305 SB_HASH_ALGORITHM_SHA3_224 SHA3_224 SB_HASH_ALGORITHM_SHA3_256 SHA3_256 SB_HASH_ALGORITHM_SHA3_384 SHA3_384 SB_HASH_ALGORITHM_SHA3_512 SHA3_512 SB_HASH_ALGORITHM_BLAKE2S_128 BLAKE2S_128 SB_HASH_ALGORITHM_BLAKE2S_160 BLAKE2S_160 SB_HASH_ALGORITHM_BLAKE2S_224 BLAKE2S_224 SB_HASH_ALGORITHM_BLAKE2S_256 BLAKE2S_256 SB_HASH_ALGORITHM_BLAKE2B_160 BLAKE2B_160 SB_HASH_ALGORITHM_BLAKE2B_256 BLAKE2B_256 SB_HASH_ALGORITHM_BLAKE2B_384 BLAKE2B_384 SB_HASH_ALGORITHM_BLAKE2B_512 BLAKE2B_512 SB_HASH_ALGORITHM_SHAKE_128 SHAKE_128 SB_HASH_ALGORITHM_SHAKE_256 SHAKE_256 SB_HASH_ALGORITHM_SHAKE_128_LEN SHAKE_128_LEN SB_HASH_ALGORITHM_SHAKE_256_LEN SHAKE_256_LEN . |
- signingCertIssuer | The common name of the certificate issuer (CA), typically a company name. |
- signingCertIssuerRDN | A collection of information, in the form of [OID, Value] pairs, uniquely identifying the certificate issuer. |
- signingCertKeyAlgorithm | Specifies the public key algorithm of this certificate. |
- signingCertKeyBits | Returns the length of the public key. |
- signingCertKeyFingerprint | Returns a fingerprint of the public key contained in the certificate. |
- signingCertKeyUsage | Indicates the purposes of the key contained in the certificate, in the form of an OR'ed flag set. |
- signingCertKeyValid | Returns True if the certificate's key is cryptographically valid, and False otherwise. |
- signingCertOCSPLocations | Locations of OCSP (Online Certificate Status Protocol) services that can be used to check this certificate's validity, as recorded by the CA. |
- signingCertOrigin | Returns the origin of this certificate. |
- signingCertPolicyIDs | Contains identifiers (OIDs) of the applicable certificate policies. |
- signingCertPrivateKeyBytes | Contains the certificate's private key. |
- signingCertPrivateKeyExists | Indicates whether the certificate has an associated private key. |
- signingCertPrivateKeyExtractable | Indicates whether the private key is extractable. |
- signingCertPublicKeyBytes | Contains the certificate's public key in DER format. |
- signingCertSelfSigned | Indicates whether the certificate is self-signed (root) or signed by an external CA. |
- signingCertSerialNumber | Returns the certificate's serial number. |
- signingCertSigAlgorithm | Indicates the algorithm that was used by the CA to sign this certificate. |
- signingCertSubject | The common name of the certificate holder, typically an individual's name, a URL, an e-mail address, or a company name. |
- signingCertSubjectKeyID | Contains a unique identifier (fingerprint) of the certificate's private key. |
- signingCertSubjectRDN | A collection of information, in the form of [OID, Value] pairs, uniquely identifying the certificate holder (subject). |
- signingCertValidFrom | The time point at which the certificate becomes valid, in UTC. |
- signingCertValidTo | The time point at which the certificate expires, in UTC. |
- validatedSigningTime | Contains the certified signing time. |
Method List
The following is the full list of the methods of the class with short descriptions. Click on the links for further details.
- config | Sets or retrieves a configuration setting. |
- verify | Verifies a timestamped message. |
- verifyDetached | Verifies a detached timestamped message. |
Event List
The following is the full list of the events fired by the class with short descriptions. Click on the links for further details.
- onError | Information about errors during PKCS#7 message encryption. |
- onNotification | This event notifies the application about an underlying control flow event. |
Configuration Settings
The following is a list of configuration settings for the class with short descriptions. Click on the links for further details.
MediaType | Media type. |
TempPath | Path for storing temporary files. |
CheckKeyIntegrityBeforeUse | Enables or disable private key integrity check before use. |
CookieCaching | Specifies whether a cookie cache should be used for HTTP(S) transports. |
Cookies | Gets or sets local cookies for the class (supported for HTTPClient, RESTClient and SOAPClient only). |
DefDeriveKeyIterations | Specifies the default key derivation algorithm iteration count. |
EnableClientSideSSLFFDHE | Enables or disables finite field DHE key exchange support in TLS clients. |
GlobalCookies | Gets or sets global cookies for all the HTTP transports. |
HttpUserAgent | Specifies the user agent name to be used by all HTTP clients. |
LogDestination | Specifies the debug log destination. |
LogDetails | Specifies the debug log details to dump. |
LogFile | Specifies the debug log filename. |
LogFilters | Specifies the debug log filters. |
LogFlushMode | Specifies the log flush mode. |
LogLevel | Specifies the debug log level. |
LogMaxEventCount | Specifies the maximum number of events to cache before further action is taken. |
LogRotationMode | Specifies the log rotation mode. |
MaxASN1BufferLength | Specifies the maximal allowed length for ASN.1 primitive tag data. |
MaxASN1TreeDepth | Specifies the maximal depth for processed ASN.1 trees. |
OCSPHashAlgorithm | Specifies the hash algorithm to be used to identify certificates in OCSP requests. |
UseOwnDNSResolver | Specifies whether the client classes should use own DNS resolver. |
UseSharedSystemStorages | Specifies whether the validation engine should use a global per-process copy of the system certificate stores. |
UseSystemOAEPAndPSS | Enforces or disables the use of system-driven RSA OAEP and PSS computations. |
UseSystemRandom | Enables or disables the use of the OS PRNG. |