| java.lang.Object org.apache.james.security.KeyStoreHolder
KeyStoreHolder | public class KeyStoreHolder (Code) | | This class is used to handle in a simple way a keystore that contains a set
of trusted certificates. It loads the set from the specified keystore (type,
location and password are supplied during the object's creation) and it is
able to verify a s/mime signature, also checking if the signer's certificate
is trusted or not.
|
Method Summary | |
public List | verifySignatures(SMIMESigned signed) Verifies the signature of a SMIME message.
It checks also if the signer's certificate is trusted using the loaded
keystore as trusted certificate store.
Parameters: signed - the signed mail to check. |
verifySignatures | public List verifySignatures(SMIMESigned signed) throws Exception, MessagingException(Code) | | Verifies the signature of a SMIME message.
It checks also if the signer's certificate is trusted using the loaded
keystore as trusted certificate store.
Parameters: signed - the signed mail to check. a list of SMIMESignerInfo which keeps the data of each mailsigner. throws: Exception - throws: MessagingException - |
|
|