Overview | Package | Class | Tree | Deprecated | Index | Help
| JSS 3.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mozilla.jss.pkix.cmmf
Class PKIStatusInfo

    java.lang.Object
      |
      +--org.mozilla.jss.pkix.cmmf.PKIStatusInfo

public class PKIStatusInfo
extends java.lang.Object
implements ASN1Value

Inner Class Summary
`static class` | `PKIStatusInfo.Template`

Field Summary
`static int` | `badAlg`
`static int` | `badCertId`
`static int` | `badDataFormat`
`static int` | `badMessageCheck`
`static int` | `badRequest`
`static int` | `badTime`
`private int` | `failInfo`
`static int` | `granted`
`static int` | `grantedWithMods`
`private boolean` | `hasFailInfo`
`static int` | `incorrectData`
`static int` | `keyUpdateWarning`
`static int` | `missingTimeStamp`
`static int` | `rejection`
`static int` | `revocationNotification`
`static int` | `revocationWarning`
`private INTEGER` | `status`
`private SEQUENCE` | `statusString`
`static Tag` | `TAG`
`private static PKIStatusInfo.Template` | `templateInstance`
`static int` | `waiting`
`static int` | `wrongAuthority`

Constructor Summary
`private` | `PKIStatusInfo()`
`` | `PKIStatusInfo(int status)` Create a PKIStatusInfo with no failure info.
`` | `PKIStatusInfo(int status, int failInfo)`

Method Summary
`void` | `addFreeText(java.lang.String s)` Adds a string to the statusString SEQUENCE.
`void` | `addFreeText(UTF8String s)` Adds a UTF8String to the statusString SEQUENCE.
`void` | `encode(java.io.OutputStream ostream)`
`void` | `encode(Tag implicitTag, java.io.OutputStream ostream)`
`Tag` | `getTag()`
`static PKIStatusInfo.Template` | `getTemplate()`
`void` | `setStatusString(SEQUENCE statusString)` Sets the `statusString` field.

Methods inherited from class java.lang.Object
`, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait`

Field Detail

### status

    private INTEGER status

### statusString

    private SEQUENCE statusString

### failInfo

    private int failInfo

### hasFailInfo

    private boolean hasFailInfo

### granted

    public static final int granted

### grantedWithMods

    public static final int grantedWithMods

### rejection

    public static final int rejection

### waiting

    public static final int waiting

### revocationWarning

    public static final int revocationWarning

### revocationNotification

    public static final int revocationNotification

### keyUpdateWarning

    public static final int keyUpdateWarning

### badAlg

    public static final int badAlg

### badMessageCheck

    public static final int badMessageCheck

### badRequest

    public static final int badRequest

### badTime

    public static final int badTime

### badCertId

    public static final int badCertId

### badDataFormat

    public static final int badDataFormat

### wrongAuthority

    public static final int wrongAuthority

### incorrectData

    public static final int incorrectData

### missingTimeStamp

    public static final int missingTimeStamp

### TAG

    public static final Tag TAG

### templateInstance

    private static final PKIStatusInfo.Template templateInstance

Constructor Detail

### PKIStatusInfo

    private PKIStatusInfo()

### PKIStatusInfo

    public PKIStatusInfo(int status,
                         int failInfo)

  Parameters:
    `status` - A PKIStatus constant.
    `failInfo` - The bitwise AND of the PKIFailureInfo constants.

### PKIStatusInfo

    public PKIStatusInfo(int status)

  Create a PKIStatusInfo with no failure info.
  Parameters:
    `status` - A PKIStatus constant.
    `failInfo` - The bitwise AND of the PKIFailureInfo constants.

Method Detail

### setStatusString

    public void setStatusString(SEQUENCE statusString)

  Sets the `statusString` field. May be null, since this field is optional.

### addFreeText

    public void addFreeText(java.lang.String s)

  Adds a string to the statusString SEQUENCE.

### addFreeText

    public void addFreeText(UTF8String s)

  Adds a UTF8String to the statusString SEQUENCE.

### getTag

    public Tag getTag()

  Specified by:
    getTag in interface ASN1Value

### encode

    public void encode(java.io.OutputStream ostream)
                throws java.io.IOException

  Specified by:
    encode in interface ASN1Value

### encode

    public void encode(Tag implicitTag,
                       java.io.OutputStream ostream)
                throws java.io.IOException

  Specified by:
    encode in interface ASN1Value

### getTemplate

    public static PKIStatusInfo.Template getTemplate()

Overview | Package | Class | Tree | Deprecated | Index | Help
| JSS 3.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD