public class SignedContentFile.SignedContentFileEntry extends Object implements SignedContentEntry
| Constructor and Description |
|---|
SignedContentFile.SignedContentFileEntry(SignedContentEntry entry) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the entry.
|
SignerInfo[] |
getSignerInfos()
Returns the signer infos for this
SignedContentEntry. |
boolean |
isSigned()
Returns true if the entry is signed; false otherwise.
|
void |
verify()
Verifies the content of this this entry is valid.
|
public SignedContentFile.SignedContentFileEntry(SignedContentEntry entry)
public String getName()
SignedContentEntrygetName in interface SignedContentEntrypublic SignerInfo[] getSignerInfos()
SignedContentEntrySignedContentEntry. If the entry
is not signed then an empty array is returned.getSignerInfos in interface SignedContentEntrySignedContentEntrypublic boolean isSigned()
SignedContentEntrySignedContentEntry.getSignerInfos().length > 0isSigned in interface SignedContentEntrypublic void verify()
throws IOException,
InvalidContentException
SignedContentEntryverify in interface SignedContentEntryIOException - if an error occurred reading the entry contentInvalidContentException - if the entry content is not validCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.