Searched refs:privateKey (Results 1 – 3 of 3) sorted by relevance
64 PrivateKey privateKey = Utils.loadDERPrivateKey(Utils.read(args[1])); in main() local65 byte[] signature = Utils.sign(privateKey, content); in main()
149 public void sign(PrivateKey privateKey) throws Exception { in sign() argument151 byte[] rawSignature = Utils.sign(privateKey, innerKeystore); in sign()155 Utils.getSignatureAlgorithmIdentifier(privateKey)); in sign()
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()