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 - IOExceptionParserConfigurationExceptionSAXExceptionorg.apache.xml.security.signature.XMLSignatureExceptionorg.apache.xml.security.exceptions.XMLSecurityExceptionMarshalExceptionXMLSignatureExceptionpublic static List<X509Certificate> getSigners(URL odfUrl) throws IOException, ParserConfigurationException, SAXException, MarshalException, XMLSignatureException
odfUrl - IOExceptionParserConfigurationExceptionSAXExceptionMarshalExceptionXMLSignatureExceptionpublic static boolean isODF(URL url) throws IOException
url - IOExceptionCopyright © 2008-2018 FedICT. All Rights Reserved.