question: public void init ( Certificate cert ) { try { if ( signature != null ) { signature . initVerify ( cert ) ; } else if ( cipher != null ) { cipher . init ( Cipher . DECRYPT_MODE , cert ) ; } } catch ( InvalidKeyException e ) { throw new AlertException ( AlertProtocol . BAD_CERTIFICATE , new SSLException ( "init - invalid certificate" , e ) ) ; } }
target:  Initiate Signature type by certificate