public class SignaturePart extends Object
Modifier and Type | Method and Description |
---|---|
List<X509Certificate> |
getCertChain() |
PackagePart |
getPackagePart() |
org.w3.x2000.x09.xmldsig.SignatureDocument |
getSignatureDocument()
Helper method for examining the xml signature
|
X509Certificate |
getSigner() |
boolean |
validate() |
public PackagePart getPackagePart()
public X509Certificate getSigner()
public List<X509Certificate> getCertChain()
public org.w3.x2000.x09.xmldsig.SignatureDocument getSignatureDocument() throws IOException, XmlException
IOException
- if the xml signature doesn't exist or can't be readXmlException
- if the xml signature is malformedpublic boolean validate()
EncryptedDocumentException
- if the signature can't be extracted or if its malformedCopyright © 2010 - 2020 Adobe. All Rights Reserved