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.update.core
Interface IVerificationResult


Deprecated. The org.eclipse.update component has been replaced by Equinox p2. This provisional API was never promoted to stable API, and may be removed from a future release of the platform.

public interface IVerificationResult

Verification result. An object implementing this interface represents a token passed between the update framework and the verifier and verification listener. The verifier uses the token to capture the result of the file verification. It is then passed to the verification listener to optionally present this information to the user (in an implementation-specific way). The verification listener in turn uses this token to capture the desired response.

Clients may implement this interface.

Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.

Since:
2.0

Field Summary
static int TYPE_ENTRY_CORRUPTED
          Deprecated. Indicates the file has been modified since it was signed
static int TYPE_ENTRY_NOT_SIGNED
          Deprecated. Indicates the file type is recognized but the file is not signed
static int TYPE_ENTRY_SIGNED_RECOGNIZED
          Deprecated. Indicates the file is signed by a known signer
static int TYPE_ENTRY_SIGNED_UNRECOGNIZED
          Deprecated. Indicates the file is signed but the signer is not known
static int TYPE_ENTRY_UNRECOGNIZED
          Deprecated. Could not perform verification due to unrecognized file
static int UNKNOWN_ERROR
          Deprecated. Error occurred during verification
static int VERIFICATION_CANCELLED
          Deprecated. Verification was cancelled
 
Method Summary
 boolean alreadySeen ()
          Deprecated. Indicates whether the signer and verifier info have already been accepted by the user during a previous verification of one of the file of the feature.
  ContentReference getContentReference ()
          Deprecated. Returns the content reference that is the target of the verification.
  IFeature getFeature ()
          Deprecated. Returns the feature the referenced file is part of.
  String getSignerInfo ()
          Deprecated. Returns text describing the signer
  String getText ()
          Deprecated. Returns display text describing the result of the verification.
 int getVerificationCode ()
          Deprecated. Returns the verification code.
  Exception getVerificationException ()
          Deprecated. Returns any exception caught during verification
  String getVerifierInfo ()
          Deprecated. Returns text describing the authority that verified/ certified the signer
 boolean isFeatureVerification ()
          Deprecated. Indicates whether the referenced file is part of the overall feature definition, or one of its component plug-in or non-plug-in entries.
 

Field Detail

TYPE_ENTRY_NOT_SIGNED

static final int TYPE_ENTRY_NOT_SIGNED
Deprecated. 
Indicates the file type is recognized but the file is not signed

Since:
2.0
See Also:
TYPE_ENTRY_UNRECOGNIZED, Constant Field Values

TYPE_ENTRY_CORRUPTED

static final int TYPE_ENTRY_CORRUPTED
Deprecated. 
Indicates the file has been modified since it was signed

Since:
2.0
See Also:
Constant Field Values

TYPE_ENTRY_SIGNED_RECOGNIZED

static final int TYPE_ENTRY_SIGNED_RECOGNIZED
Deprecated. 
Indicates the file is signed by a known signer

Since:
2.0
See Also:
Constant Field Values

TYPE_ENTRY_SIGNED_UNRECOGNIZED

static final int TYPE_ENTRY_SIGNED_UNRECOGNIZED
Deprecated. 
Indicates the file is signed but the signer is not known

Since:
2.0
See Also:
Constant Field Values

UNKNOWN_ERROR

static final int UNKNOWN_ERROR
Deprecated. 
Error occurred during verification

Since:
2.0
See Also:
Constant Field Values

VERIFICATION_CANCELLED

static final int VERIFICATION_CANCELLED
Deprecated. 
Verification was cancelled

Since:
2.0
See Also:
Constant Field Values

TYPE_ENTRY_UNRECOGNIZED

static final int TYPE_ENTRY_UNRECOGNIZED
Deprecated. 
Could not perform verification due to unrecognized file

Since:
2.0
See Also:
TYPE_ENTRY_NOT_SIGNED, Constant Field Values
Method Detail

getContentReference


ContentReference getContentReference()
Deprecated. 
Returns the content reference that is the target of the verification.

Returns:
content reference
Since:
2.0

getFeature


IFeature getFeature()
Deprecated. 
Returns the feature the referenced file is part of.

Returns:
feature
Since:
2.0

getVerificationCode

int getVerificationCode()
Deprecated. 
Returns the verification code.

Returns:
verification code, as defined in this interface.
Since:
2.0

getVerificationException


Exception getVerificationException()
Deprecated. 
Returns any exception caught during verification

Returns:
exception, or null.
Since:
2.0

getText


String getText()
Deprecated. 
Returns display text describing the result of the verification.

Returns:
result text, or null.
Since:
2.0

getSignerInfo


String getSignerInfo()
Deprecated. 
Returns text describing the signer

Returns:
signer information, or null.
Since:
2.0

getVerifierInfo


String getVerifierInfo()
Deprecated. 
Returns text describing the authority that verified/ certified the signer

Returns:
verifier information, or null.
Since:
2.0

isFeatureVerification

boolean isFeatureVerification()
Deprecated. 
Indicates whether the referenced file is part of the overall feature definition, or one of its component plug-in or non-plug-in entries.

Returns:
true if reference is a feature file, false if reference is a plug-in or non-plug-in file
Since:
2.0

alreadySeen

boolean alreadySeen()
Deprecated. 
Indicates whether the signer and verifier info have already been accepted by the user during a previous verification of one of the file of the feature.

Returns:
true if the result has already been accepted, false if the result has not yet been accepted by the user
Since:
2.0

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