Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.bouncycastle.asn1.cmp;
 
 
 
 public class PKIStatus
    extends ASN1Object
    public static final int GRANTED                 = 0;
    public static final int GRANTED_WITH_MODS       = 1;
    public static final int REJECTION               = 2;
    public static final int WAITING                 = 3;
    public static final int REVOCATION_WARNING      = 4;
    public static final int REVOCATION_NOTIFICATION = 5;
    public static final int KEY_UPDATE_WARNING      = 6;
    public static final PKIStatus granted = new PKIStatus();
    public static final PKIStatus grantedWithMods = new PKIStatus();
    public static final PKIStatus rejection = new PKIStatus();
    public static final PKIStatus waiting = new PKIStatus();
    public static final PKIStatus revocationWarning = new PKIStatus();
    public static final PKIStatus revocationNotification = new PKIStatus();
    public static final PKIStatus keyUpdateWaiting = new PKIStatus();
    private ASN1Integer value;
    private PKIStatus(int value)
    {
        this(new ASN1Integer(value));
    }
    private PKIStatus(ASN1Integer value)
    {
        this. = value;
    }
    public static PKIStatus getInstance(Object o)
    {
        if (o instanceof PKIStatus)
        {
            return (PKIStatus)o;
        }
        if (o != null)
        {
            return new PKIStatus(ASN1Integer.getInstance(o));
        }
        return null;
    }
    public BigInteger getValue()
    {
        return .getValue();
    }
    
    public ASN1Primitive toASN1Primitive()
    {
        return ;
    }
New to GrepCode? Check out our FAQ X