|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsun.security.util.SignatureFileVerifier
public class SignatureFileVerifier
| Constructor Summary | |
|---|---|
SignatureFileVerifier(ArrayList certCache,
ManifestDigester md,
String name,
byte[] rawBytes)
Create the named SignatureFileVerifier. |
|
| Method Summary | |
|---|---|
boolean |
needSignatureFile(String name)
returns true if we need this .SF file. |
boolean |
needSignatureFileBytes()
returns true if we need the .SF file |
void |
process(Hashtable certificates)
process the signature block file. |
void |
setSignatureFile(byte[] sfBytes)
used to set the raw bytes of the .SF file when it is external to the signature block file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SignatureFileVerifier(ArrayList certCache,
ManifestDigester md,
String name,
byte[] rawBytes)
throws IOException
name - the name of the signature block file (.DSA/.RSA)rawBytes - the raw bytes of the signature block file
IOException| Method Detail |
|---|
public boolean needSignatureFileBytes()
public boolean needSignatureFile(String name)
name - the name of the .SF file without the extensionpublic void setSignatureFile(byte[] sfBytes)
public void process(Hashtable certificates)
throws IOException,
SignatureException,
NoSuchAlgorithmException,
JarException
IOException
SignatureException
NoSuchAlgorithmException
JarException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||