public class

SignedMailValidator.ValidationResult

extends Object
java.lang.Object
   ↳ org.bouncycastle.mail.smime.validator.SignedMailValidator.ValidationResult

Summary

Public Methods
CertPath getCertPath()
PKIXCertPathReviewer getCertPathReview()
List getErrors()
Returns a list of error messages of type ErrorBundle.
List getNotifications()
Returns a list of notification messages of type ErrorBundle.
List getUserProvidedCerts()
boolean isValidSignature()
boolean isVerifiedSignature()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public CertPath getCertPath ()

Returns
  • the CertPath for this signature or null if an Exception occured.

public PKIXCertPathReviewer getCertPathReview ()

Returns
  • the PKIXCertPathReviewer for the CertPath of this signature or null if an Exception occured.

public List getErrors ()

Returns a list of error messages of type ErrorBundle.

Returns
  • List of error messages

public List getNotifications ()

Returns a list of notification messages of type ErrorBundle.

Returns
  • List of notification messages

public List getUserProvidedCerts ()

Returns
  • a List of Booleans that are true if the corresponding certificate in the CertPath was taken from the CertStore of the SMIME message

public boolean isValidSignature ()

Returns
  • true if the signature is valid (ie. if it corresponds to the public key of the signer and the cert path for the signers certificate is also valid)

public boolean isVerifiedSignature ()

Returns
  • true if the signature corresponds to the public key of the signer