public interface SignedContentEntry
SignedContentEntry
represents a content entry which may be
signed.
A SignedContentEntry
object is intended to provide information about
the signers of the content entry, and cannot be used to access the actual data of the entry.
This interface is not intended to be implemented by clients.
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.
|
String getName()
SignerInfo[] getSignerInfos()
SignedContentEntry
. If the entry
is not signed then an empty array is returned.SignedContentEntry
boolean isSigned()
getSignerInfos()
.length > 0
void verify() throws IOException, InvalidContentException
IOException
- if an error occurred reading the entry contentInvalidContentException
- if the entry content is not validCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.