NAME
Kernel::System::DataValidation::Validator::EmailSecurity – Validator that verifies if provided PGP/SMIME keys are valid.
PUBLIC INTERFACE
Provides a Check
method, that will be called by the Kernel::System::DataValidation backend.
Check()
Checks if provided PGP/SMIME keys are valid.
my $Result = $Validator->Check(
Arguments => {
QueueID => 123,
To => [],
Cc => [],
Bcc => [],
},
Value => {
Backend => 'PGP', # PGP or SMIME
Method => 'Detached', # Optional Detached or Inline (defaults to Detached)
SignKey => '81877F5E', # Optional
EncryptKeys => [ '81877F5E', '3b630c80' ], # Optional
},
);