public class ODFSignatureVerifier extends Object
Modifier and Type | Method and Description |
---|---|
static List<X509Certificate> |
getSigners(URL odfUrl)
return list of signers for the document available via the given URL.
|
static boolean |
hasOdfSignature(URL odfUrl)
Checks whether the ODF document available via the given URL has been
signed.
|
static boolean |
isODF(URL url)
Checks whether the document available on the given URL is an ODF document
or not.
|
public static boolean hasOdfSignature(URL odfUrl) throws IOException, ParserConfigurationException, SAXException, org.apache.xml.security.signature.XMLSignatureException, org.apache.xml.security.exceptions.XMLSecurityException, MarshalException, XMLSignatureException
odfUrl
- IOException
ParserConfigurationException
SAXException
org.apache.xml.security.signature.XMLSignatureException
org.apache.xml.security.exceptions.XMLSecurityException
MarshalException
XMLSignatureException
public static List<X509Certificate> getSigners(URL odfUrl) throws IOException, ParserConfigurationException, SAXException, MarshalException, XMLSignatureException
odfUrl
- IOException
ParserConfigurationException
SAXException
MarshalException
XMLSignatureException
public static boolean isODF(URL url) throws IOException
url
- IOException
Copyright © 2008-2015 FedICT. All Rights Reserved.