question: public void test_toString ( ) throws Exception { CertificateFactory certFact = CertificateFactory . getInstance ( "X509" ) ; X509Certificate pemCert = ( X509Certificate ) certFact . generateCertificate ( new ByteArrayInputStream ( TestUtils . getX509Certificate_v3 ( ) ) ) ; byte [ ] extnValue = pemCert . getExtensionValue ( "2.5.29.35" ) ; assertEquals ( Arrays . toString ( new byte [ ] { 0x04 , 0x02 , 0x30 , 0x00 } ) , Arrays . toString ( extnValue ) ) ; assertNotNull ( pemCert . toString ( ) ) ; }
target:  Test for X.509 Certificate provider