org.apache.commons.openpgp
Class SignatureStatus

java.lang.Object
  extended by org.apache.commons.openpgp.SignatureStatus

public class SignatureStatus
extends Object

Enumerated type indicating the status of data that was signed.

Values:

Author:
Brett Porter

Field Summary
static SignatureStatus INVALID
          Status that indicates the signature is invalid.
static SignatureStatus VALID_TRUSTED
          Status that indicates the signature is valid, and from a trusted source.
static SignatureStatus VALID_UNTRUSTED
          Status that indicates the signature is valid, but from an unknown or untrusted source.
 
Method Summary
 boolean isTrusted()
           
 boolean isValid()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALID_TRUSTED

public static SignatureStatus VALID_TRUSTED
Status that indicates the signature is valid, and from a trusted source.


VALID_UNTRUSTED

public static SignatureStatus VALID_UNTRUSTED
Status that indicates the signature is valid, but from an unknown or untrusted source.


INVALID

public static SignatureStatus INVALID
Status that indicates the signature is invalid.

Method Detail

isValid

public boolean isValid()

isTrusted

public boolean isTrusted()


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.