Class BCErrorMapper


  • public class BCErrorMapper
    extends java.lang.Object
    Maps PKIXCertPathReviewer errors to ValidationError. In most cases BC's codes and arguments are simply copied but this class performs few updates when needed.
    Author:
    K. Benedyczak
    • Constructor Summary

      Constructors 
      Constructor Description
      BCErrorMapper()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ValidationError map​(org.bouncycastle.i18n.ErrorBundle error, int pos, java.security.cert.X509Certificate[] cc)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BCErrorMapper

        public BCErrorMapper()
    • Method Detail

      • map

        public static ValidationError map​(org.bouncycastle.i18n.ErrorBundle error,
                                          int pos,
                                          java.security.cert.X509Certificate[] cc)