|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.util.jar.OwJarVerifier
public class OwJarVerifier
Utility class for checking jar file integrity.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Constructor Summary | |
---|---|
OwJarVerifier(URL jarURL_p)
|
Method Summary | |
---|---|
protected void |
finalize()
|
org.bouncycastle.cert.X509CertificateHolder[] |
getSignatureCertificates()
Get Signature Certificates |
static X509Certificate |
getWeWebUCertificate()
Get Workdesk Certificate |
boolean |
isSigned()
We'll search for a file named META-INF/*.DSA or META-INF/*.RSA |
void |
verify(X509Certificate targetCert_p)
First, retrieve the jar file from the URL passed in constructor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OwJarVerifier(URL jarURL_p)
Method Detail |
---|
public void verify(X509Certificate targetCert_p) throws IOException
targetCert_p
-
IOException
protected void finalize() throws Throwable
finalize
in class Object
Throwable
public boolean isSigned()
public org.bouncycastle.cert.X509CertificateHolder[] getSignatureCertificates() throws IOException, org.bouncycastle.cms.CMSException
X509Certificate
[]
IOException
org.bouncycastle.cms.CMSException
public static X509Certificate getWeWebUCertificate() throws IOException, CertificateException
X509Certificate
IOException
CertificateException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |