Results for: "strip"

Returns the ‘short name’ of the object identifier representing the algorithm that was used to derive the message imprint digest. For valid timestamps, this is the same value that was already given in the Request. If status is GRANTED or GRANTED_WITH_MODS, this is never nil.

Example:

algo = token_info.algorithm
puts algo                -> "SHA1"

If the ordering field is missing, or if the ordering field is present and set to false, then the genTime field only indicates the time at which the time-stamp token has been created by the TSA. In such a case, the ordering of time-stamp tokens issued by the same TSA or different TSAs is only possible when the difference between the genTime of the first time-stamp token and the genTime of the second time-stamp token is greater than the sum of the accuracies of the genTime for each time-stamp token.

If the ordering field is present and set to true, every time-stamp token from the same TSA can always be ordered based on the genTime field, regardless of the genTime accuracy.

Allows to set the object identifier or the ‘short name’ of the algorithm that was used to create the message imprint digest.

Example:

request.algorithm = "SHA1"

Returns the ‘short name’ of the object identifier that represents the algorithm that was used to create the message imprint digest.

Performs a certificate verification on the OpenSSL::X509::Certificate cert.

chain can be an array of OpenSSL::X509::Certificate that is used to construct the certificate chain.

If a block is given, it overrides the callback set by verify_callback=.

After finishing the verification, the error information can be retrieved by error, error_string, and the resulting complete certificate chain can be retrieved by chain.

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Restore session state from the session’s FileStore file.

Returns the session state as a hash.

Restore session state.

Returns session data as a hash.

Restore (empty) session state.

Restore session state from the session’s PStore file.

Returns the session state as a hash.

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

For full_name, verifies the certificate chain is valid, the digests match the signatures signatures created by the signer depending on the policy settings.

If key is given it is used to validate the signing certificate.

Writes data to the underlying IO and updates the digests

Raises an exception if a security policy that verifies data is active. Old format gems cannot be verified as signed.

Writes the lock file alongside the gem dependencies file

Search took: 5ms  ·  Total Results: 1486