Class Verifier
java.lang.Object
org.jboss.resteasy.security.doseta.Verifier
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddNew()
void
setRepository
(KeyRepository repository) verify
(List<DKIMSignature> signatures, Map headers, byte[] body) Try to verify a set of signatures and store the results.verify
(Map headers, byte[] body, Verification verification, DKIMSignature signature) Verify one signature and store the results.verifySignature
(Map headers, byte[] body, Verification verification, DKIMSignature signature)
-
Field Details
-
repository
-
verifications
-
-
Constructor Details
-
Verifier
public Verifier()
-
-
Method Details
-
getRepository
-
setRepository
-
addNew
-
getVerifications
-
verify
Try to verify a set of signatures and store the results.- Parameters:
signatures
- list of signaturesheaders
- headers mapbody
- body- Returns:
VerificationResults
-
verify
public VerificationResult verify(Map headers, byte[] body, Verification verification, DKIMSignature signature) Verify one signature and store the results.- Parameters:
headers
- headers mapbody
- bodyverification
- verificationsignature
- signature- Returns:
VerificationResult
-
verifySignature
public jakarta.ws.rs.core.MultivaluedMap<String,String> verifySignature(Map headers, byte[] body, Verification verification, DKIMSignature signature) throws SignatureException - Throws:
SignatureException
-