Home
last modified time | relevance | path

Searched refs:privateKey (Results 1 – 3 of 3) sorted by relevance

/system/extras/verity/
DVeritySigner.java64 PrivateKey privateKey = Utils.loadDERPrivateKey(Utils.read(args[1])); in main() local
65 byte[] signature = Utils.sign(privateKey, content); in main()
DKeystoreSigner.java149 public void sign(PrivateKey privateKey) throws Exception { in sign() argument
151 byte[] rawSignature = Utils.sign(privateKey, innerKeystore); in sign()
155 Utils.getSignatureAlgorithmIdentifier(privateKey)); in sign()
DUtils.java274 static byte[] sign(PrivateKey privateKey, byte[] input) throws Exception { in sign() argument
275 Signature signer = Signature.getInstance(getSignatureAlgorithm(privateKey)); in sign()
276 signer.initSign(privateKey); in sign()