Searched refs:privateKey (Results 1 – 2 of 2) sorted by relevance
64 PrivateKey privateKey = Utils.loadDERPrivateKey(Utils.read(args[1])); in main() local65 byte[] signature = Utils.sign(privateKey, content); in main()
274 static byte[] sign(PrivateKey privateKey, byte[] input) throws Exception { in sign() argument275 Signature signer = Signature.getInstance(getSignatureAlgorithm(privateKey)); in sign()276 signer.initSign(privateKey); in sign()