| java.lang.Object sun.security.util.SignatureFileVerifier
SignatureFileVerifier | public class SignatureFileVerifier (Code) | | |
SignatureFileVerifier | public SignatureFileVerifier(ArrayList certCache, ManifestDigester md, String name, byte rawBytes) throws IOException(Code) | | Create the named SignatureFileVerifier.
Parameters: name - the name of the signature block file (.DSA/.RSA) Parameters: rawBytes - the raw bytes of the signature block file |
matches | static boolean matches(Certificate[] certs, Certificate[] oldCerts, Certificate[] newCerts)(Code) | | returns true if certs contains exactly the same certs as
oldCerts and newCerts, false otherwise. oldCerts
is allowed to be null.
|
needSignatureFile | public boolean needSignatureFile(String name)(Code) | | returns true if we need this .SF file.
Parameters: name - the name of the .SF file without the extension |
needSignatureFileBytes | public boolean needSignatureFileBytes()(Code) | | returns true if we need the .SF file
|
setSignatureFile | public void setSignatureFile(byte sfBytes)(Code) | | used to set the raw bytes of the .SF file when it
is external to the signature block file.
|
toHex | static String toHex(byte[] data)(Code) | | convert a byte array to a hex string for debugging purposes
Parameters: data - the binary data to be converted to a hex string an ASCII hex string |
|
|