Build 1.0_r1(from source)

java.util.jar
Class JarVerifier.VerifierEntry

java.lang.Object
  extended by java.io.OutputStream
      extended by java.util.jar.JarVerifier.VerifierEntry
All Implemented Interfaces:
Closeable, Flushable
Enclosing class:
JarVerifier

static class JarVerifier.VerifierEntry
extends OutputStream

TODO Type description


Field Summary
(package private)  Certificate[] certificates
           
(package private)  MessageDigest digest
           
(package private)  byte[] hash
           
 
Constructor Summary
JarVerifier.VerifierEntry(MessageDigest digest, byte[] hash, Certificate[] certificates)
           
 
Method Summary
 void write(byte[] buf, int off, int nbytes)
          Writes count bytes from the byte array buffer starting at offset to this OutputStream.
 void write(int value)
          Writes the specified byte oneByte to this OutputStream.
 
Methods inherited from class java.io.OutputStream
close, flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

digest

MessageDigest digest

hash

byte[] hash

certificates

Certificate[] certificates
Constructor Detail

JarVerifier.VerifierEntry

JarVerifier.VerifierEntry(MessageDigest digest,
                          byte[] hash,
                          Certificate[] certificates)
Method Detail

write

public void write(int value)
Description copied from class: OutputStream
Writes the specified byte oneByte to this OutputStream. Only the low order byte of oneByte is written.

Specified by:
write in class OutputStream
Parameters:
value - the byte to be written

write

public void write(byte[] buf,
                  int off,
                  int nbytes)
Description copied from class: OutputStream
Writes count bytes from the byte array buffer starting at offset to this OutputStream.

Overrides:
write in class OutputStream
Parameters:
buf - the buffer to be written
off - offset in buffer to get bytes
nbytes - number of bytes in buffer to write

Build 1.0_r1(from source)

Please submit a feedback, bug or feature