Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.osgi.signedcontent
Interface SignedContentEntry


public interface SignedContentEntry

A 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.

Since:
3.4
Restriction:
This interface is not intended to be implemented by clients.

Method Summary
  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.
 

Method Detail

getName


String getName()
Returns the name of the entry.

Returns:
the name of the entry.

getSignerInfos


SignerInfo[] getSignerInfos()
Returns the signer infos for this SignedContentEntry. If the entry is not signed then an empty array is returned.

Returns:
the signer infos for this SignedContentEntry

isSigned

boolean isSigned()
Returns true if the entry is signed; false otherwise. This is a convenience method equivalent to calling getSignerInfos().length > 0

Returns:
true if the content is signed

verify

void verify()
            throws 
IOException,
                   
InvalidContentException
Verifies the content of this this entry is valid.

Throws:
IOException - if an error occurred reading the entry content
InvalidContentException - if the entry content is not valid

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire