FileDocCategorySizeDatePackage
PKIStatusInfo.javaAPI DocAndroid 1.5 API4659Wed May 06 22:41:06 BST 2009org.apache.harmony.security.x509.tsp

PKIStatusInfo

public class PKIStatusInfo extends Object
As defined in Time-Stamp Protocol (TSP) (http://www.ietf.org/rfc/rfc3161.txt) PKIStatusInfo ::= SEQUENCE { status PKIStatus, statusString PKIFreeText OPTIONAL, failInfo PKIFailureInfo OPTIONAL }

Fields Summary
private final PKIStatus
status
private final List
statusString
private final PKIFailureInfo
failInfo
public static final org.apache.harmony.security.asn1.ASN1Sequence
ASN1
Constructors Summary
public PKIStatusInfo(PKIStatus pKIStatus, List statusString, PKIFailureInfo failInfo)

        this.status = pKIStatus;
        this.statusString = statusString;
        this.failInfo = failInfo;
    
Methods Summary
public PKIFailureInfogetFailInfo()

return
Returns the failInfo.

        return failInfo;
    
public PKIStatusgetStatus()

return
Returns the pKIStatus.

        return status;
    
public java.util.ListgetStatusString()

return
Returns the statusString.

        return statusString;
    
public java.lang.StringtoString()

        StringBuffer res = new StringBuffer();
        res.append("-- PKIStatusInfo:");
        res.append("\nPKIStatus : ");
        res.append(status);
        res.append("\nstatusString:  ");
        res.append(statusString);
        res.append("\nfailInfo:  ");
        res.append(failInfo);
        res.append("\n-- PKIStatusInfo End\n");
        return res.toString();