Sets the cipher’s additional authenticated data. This field must be set when using AEAD cipher modes such as GCM or CCM. If no associated data shall be used, this method must still be called with a value of “”. The contents of this field should be non-sensitive data which will be added to the ciphertext to generate the authentication tag which validates the contents of the ciphertext.
The AAD must be set prior to encryption or decryption. In encryption mode, it must be set after calling Cipher#encrypt
and setting Cipher#key=
and Cipher#iv=
. When decrypting, the authenticated data must be set after key, iv and especially after the authentication tag has been set. I.e. set it only after calling Cipher#decrypt
, Cipher#key=
, Cipher#iv=
and Cipher#auth_tag=
first.
Parse and return a Time
from string
Builds a methods for level meth
.
Creates a Regexp
to match an address.
Routes method calls to the referenced remote object.
Has a method been included in the list of insecure methods?
Routes method calls to the referenced remote object.
Adds an authenticator for Net::IMAP#authenticate
. auth_type
is the type of authentication this authenticator supports (for instance, “LOGIN”). The authenticator
is an object which defines a process() method to handle authentication with the server. See Net::IMAP::LoginAuthenticator
, Net::IMAP::CramMD5Authenticator
, and Net::IMAP::DigestMD5Authenticator
for examples.
If auth_type
refers to an existing authenticator, it will be replaced by the new one.
Formats time
as an IMAP-style date.
Indicate if this NameTuple
matches the current platform.
This is ported over from the yaml_tree in 1.9.3
Checks if this specification meets the requirement of dependency
.
Terminate the application with exit code status
, running any exit handlers that might have been defined.