protected void validateCertificate ( X509Certificate [ ] chain ) throws com . ibm . wsspi . security . wim . exception . CertificateMapFailedException { // validate the certificate array if ( chain == null || chain . length == 0 ) { throw new com . ibm . wsspi . security . wim . exception . CertificateMapFailedException ( ) ; } for ( X509Certificate cert : chain ) { if ( cert == null ) { throw new com . ibm . wsspi . security . wim . exception . CertificateMapFailedException ( ) ; } } }
Validate an X509 certificate array .