@ Override public Certificate [ ] engineGetCertificateChain ( String s ) { CredentialWrapper credential = getKeyEntry ( s ) ; X509Certificate [ ] chain = new X509Certificate [ 0 ] ; if ( credential != null ) { try { chain = credential . getCredential ( ) . getCertificateChain ( ) ; } catch ( ResourceStoreException e ) { logger . warn ( e . getMessage ( ) , e ) ; chain = null ; } } return chain ; }
Get the certificateChain for the key referenced by the alias .