Home
last modified time | relevance | path

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

/system/extras/verity/
DBootSignature.java239 BootSignature bootsig = new BootSignature(target, image.length); in doSignature() local
242 bootsig.setCertificate(cert); in doSignature()
245 bootsig.setSignature(bootsig.sign(image, key), in doSignature()
248 byte[] encoded_bootsig = bootsig.getEncoded(); in doSignature()
266 BootSignature bootsig = new BootSignature(signature); in verifySignature() local
270 bootsig.setCertificate(Utils.loadPEMCertificate(certPath)); in verifySignature()
274 if (bootsig.verify(Arrays.copyOf(image, signableSize))) { in verifySignature()