public X509Certificate [ ] getCertificates ( ) { if ( this . certSubjectDNMap == null ) { return null ; } Collection certs = this . certSubjectDNMap . values ( ) ; return ( X509Certificate [ ] ) certs . toArray ( new X509Certificate [ certs . size ( ) ] ) ; }
so moved some things over to there