encrypt with public key concode_field_sep String CERT_TYPE concode_field_sep byte[] decryptByPrivateKey concode_elem_sep byte[] decryptByPublicKey concode_elem_sep Certificate getCertificate concode_elem_sep Certificate getCertificate concode_elem_sep byte[] encryptByPrivateKey concode_elem_sep KeyStore getKeyStore concode_elem_sep byte[] sign concode_elem_sep boolean verify concode_elem_sep PrivateKey getPrivateKeyByKeyStore concode_elem_sep PublicKey getPublicKeyByCertificate
byte [ ] function ( byte [ ] arg0 , String arg1 ) { PublicKey loc0 = getPublicKeyByCertificate ( arg1 ) ; Cipher loc1 = Cipher . getInstance ( loc0 . getAlgorithm ( ) ) ; loc1 . init ( Cipher . ENCRYPT_MODE , loc0 ) ; return loc1 . doFinal ( arg0 ) ; }