public class ValidateSignedMail extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DETAIL |
static int |
SUMMARY |
static int |
TEXT |
static int |
TITLE |
static boolean |
useCaCerts |
Constructor and Description |
---|
ValidateSignedMail() |
Modifier and Type | Method and Description |
---|---|
protected static TrustAnchor |
getTrustAnchor(String trustcert) |
protected static X509Certificate |
loadCert(String certfile) |
protected static X509CRL |
loadCRL(String crlfile) |
static void |
main(String[] args) |
static void |
verifySignedMail(javax.mail.internet.MimeMessage msg,
PKIXParameters param) |
public static final boolean useCaCerts
public static final int TITLE
public static final int TEXT
public static final int SUMMARY
public static final int DETAIL
public static void verifySignedMail(javax.mail.internet.MimeMessage msg, PKIXParameters param) throws Exception
Exception
protected static TrustAnchor getTrustAnchor(String trustcert) throws Exception
Exception
protected static X509Certificate loadCert(String certfile)
Copyright © 2015. All rights reserved.