Searched refs:bootsig (Results 1 – 1 of 1) sorted by relevance
239 BootSignature bootsig = new BootSignature(target, image.length); in doSignature() local242 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() local270 bootsig.setCertificate(Utils.loadPEMCertificate(certPath)); in verifySignature()274 if (bootsig.verify(Arrays.copyOf(image, signableSize))) { in verifySignature()