Code example for Signature

Methods: update

0
        } 
 
        @Override 
        public void write(byte[] b, int off, int len) throws IOException {
            try { 
                mSignature.update(b, off, len);
            } catch (SignatureException e) {
                throw new IOException("SignatureException: " + e);
            } 
            super.write(b, off, len);
        } 
    } 
 
    private JarOutputStream mOutputJar;
    private PrivateKey mKey;
    private X509Certificate mCertificate;
    private Manifest mManifest;
    private BASE64Encoder mBase64Encoder;
    private MessageDigest mMessageDigest;
 
    private byte[] mBuffer = new byte[4096];