Lines Matching refs:Signature
24 import java.security.Signature;
44 Signature signature = null;
46 signature = Signature.getInstance(algorithmName);
52 signature.initSign(encryptKey);
58 signature.update(plainData.getBytes());
65 signed = signature.sign();
71 signature.initVerify(decryptKey);
77 signature.update(plainData.getBytes());
83 Assert.assertTrue("signature could not be verified", signature