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

## org.mozilla.jss.pkix.cert
Class CertificateInfo.Version

    java.lang.Object
      |
      +--org.mozilla.jss.pkix.cert.CertificateInfo.Version

Enclosing class:
  CertificateInfo

public static class CertificateInfo.Version
extends java.lang.Object

An X.509 Certificate version.

Field Summary
`static CertificateInfo.Version` | `v1`
`static CertificateInfo.Version` | `v2`
`static CertificateInfo.Version` | `v3`

Method Summary
`boolean` | `equals(java.lang.Object obj)`
`static CertificateInfo.Version` | `fromInt(int versionNum)` Creates a version number from its numeric encoding.
`int` | `getNumber()`
`java.lang.String` | `toString()`

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

Field Detail

### v1

    public static final CertificateInfo.Version v1

### v2

    public static final CertificateInfo.Version v2

### v3

    public static final CertificateInfo.Version v3

Method Detail

### equals

    public boolean equals(java.lang.Object obj)

  Overrides:
    `equals` in class `java.lang.Object`

### getNumber

    public int getNumber()

### fromInt

    public static CertificateInfo.Version fromInt(int versionNum)
                                           throws InvalidBERException

  Creates a version number from its numeric encoding.

    `InvalidBERException`

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

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