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.asn1
Class OBJECT_IDENTIFIER

    java.lang.Object
      |
      +--org.mozilla.jss.asn1.OBJECT_IDENTIFIER

All Implemented Interfaces:
  ASN1Value

public class OBJECT_IDENTIFIER
extends java.lang.Object
implements ASN1Value

Nested Class Summary
`static class` | `OBJECT_IDENTIFIER.Template`

Field Summary
`static OBJECT_IDENTIFIER` | `ALGORITHM` The OID space for FIPS standardized algorithms.
`static Form` | `FORM`
`static OBJECT_IDENTIFIER` | `id_cct`
`static OBJECT_IDENTIFIER` | `id_cct_PKIData`
`static OBJECT_IDENTIFIER` | `id_cct_PKIResponse`
`static OBJECT_IDENTIFIER` | `id_cmc`
`static OBJECT_IDENTIFIER` | `id_cmc_addExtensions`
`static OBJECT_IDENTIFIER` | `id_cmc_cMCStatusInfo` CMC control attributes
`static OBJECT_IDENTIFIER` | `id_cmc_dataReturn`
`static OBJECT_IDENTIFIER` | `id_cmc_decryptedPOP`
`static OBJECT_IDENTIFIER` | `id_cmc_encryptedPOP`
`static OBJECT_IDENTIFIER` | `id_cmc_getCert`
`static OBJECT_IDENTIFIER` | `id_cmc_getCRL`
`static OBJECT_IDENTIFIER` | `id_cmc_idConfirmCertAcceptance`
`static OBJECT_IDENTIFIER` | `id_cmc_identification`
`static OBJECT_IDENTIFIER` | `id_cmc_identityProof`
`static OBJECT_IDENTIFIER` | `id_cmc_idPOPLinkRandom`
`static OBJECT_IDENTIFIER` | `id_cmc_idPOPLinkWitness`
`static OBJECT_IDENTIFIER` | `id_cmc_lraPOPWitness`
`static OBJECT_IDENTIFIER` | `id_cmc_QueryPending`
`static OBJECT_IDENTIFIER` | `id_cmc_recipientNonce`
`static OBJECT_IDENTIFIER` | `id_cmc_regInfo`
`static OBJECT_IDENTIFIER` | `id_cmc_responseInfo`
`static OBJECT_IDENTIFIER` | `id_cmc_revokeRequest`
`static OBJECT_IDENTIFIER` | `id_cmc_senderNonce`
`static OBJECT_IDENTIFIER` | `id_cmc_transactionId`
`static OBJECT_IDENTIFIER` | `PKCS` The OID space for RSA's PKCS (public key cryptography standards).
`static OBJECT_IDENTIFIER` | `PKCS1` The OID space for RSA's PKCS #1.
`static OBJECT_IDENTIFIER` | `PKCS12` The OID space for RSA's personal information exchange syntax standard.
`static OBJECT_IDENTIFIER` | `PKCS2` The OID space for RSA's PKCS #2, which has since been folded into PKCS #1.
`static OBJECT_IDENTIFIER` | `PKCS5` The OID space for RSA's password-based encryption standard.
`static OBJECT_IDENTIFIER` | `PKCS9` The OID space for RSA's Selected Attribute Types standard, PKCS #9.
`static OBJECT_IDENTIFIER` | `PKIX` The OID space for PKIX.
`static OBJECT_IDENTIFIER` | `RSA_CIPHER` The OID space for RSA's ciphers.
`static OBJECT_IDENTIFIER` | `RSA_DIGEST` The OID space for RSA's message digest algorithms.
`static OBJECT_IDENTIFIER` | `RSADSI` The OID space for RSA Data Security, Inc.
`static Tag` | `TAG`

Constructor Summary
`OBJECT_IDENTIFIER(long[] numbers)` Creates an OBJECT_IDENTIFIER from an array of longs, which constitute the numbers that make up the OBJECT IDENTIFIER.
`OBJECT_IDENTIFIER(java.lang.String dottedOID)` Creates an OBJECT_IDENTIFIER from a String version.

Method Summary
`void` | `encode(java.io.OutputStream ostream)` Write this value's DER encoding to an output stream using its own base tag.
`void` | `encode(Tag implicitTag, java.io.OutputStream ostream)` Write this value's DER encoding to an output stream using an implicit tag.
`boolean` | `equals(java.lang.Object obj)`
`long[]` | `getNumbers()`
`Tag` | `getTag()` Returns the base tag for this type, not counting any tags that may be imposed on it by its context.
`static OBJECT_IDENTIFIER.Template` | `getTemplate()`
`int` | `hashCode()`
`OBJECT_IDENTIFIER` | `subBranch(long num)` Creates a new OBJECT_IDENTIFIER that is a sub-branch of this one.
`OBJECT_IDENTIFIER` | `subBranch(long[] newNums)` Creates a new OBJECT_IDENTIFIER that is a sub-branch of this one.
`java.lang.String` | `toString()`

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

Field Detail

### RSADSI

    public static final OBJECT_IDENTIFIER RSADSI

  The OID space for RSA Data Security, Inc.

### PKCS

    public static final OBJECT_IDENTIFIER PKCS

  The OID space for RSA's PKCS (public key cryptography standards).

### PKCS1

    public static final OBJECT_IDENTIFIER PKCS1

  The OID space for RSA's PKCS #1.

### PKCS2

    public static final OBJECT_IDENTIFIER PKCS2

  The OID space for RSA's PKCS #2, which has since been folded into PKCS #1.

### RSA_DIGEST

    public static final OBJECT_IDENTIFIER RSA_DIGEST

  The OID space for RSA's message digest algorithms.

### PKCS5

    public static final OBJECT_IDENTIFIER PKCS5

  The OID space for RSA's password-based encryption standard.

### PKCS9

    public static final OBJECT_IDENTIFIER PKCS9

  The OID space for RSA's Selected Attribute Types standard, PKCS #9.

### PKCS12

    public static final OBJECT_IDENTIFIER PKCS12

  The OID space for RSA's personal information exchange syntax standard.

### RSA_CIPHER

    public static final OBJECT_IDENTIFIER RSA_CIPHER

  The OID space for RSA's ciphers.

### ALGORITHM

    public static final OBJECT_IDENTIFIER ALGORITHM

  The OID space for FIPS standardized algorithms.

### PKIX

    public static final OBJECT_IDENTIFIER PKIX

  The OID space for PKIX.

### id_cmc

    public static final OBJECT_IDENTIFIER id_cmc

### id_cmc_cMCStatusInfo

    public static final OBJECT_IDENTIFIER id_cmc_cMCStatusInfo

  CMC control attributes

### id_cmc_identification

    public static final OBJECT_IDENTIFIER id_cmc_identification

### id_cmc_identityProof

    public static final OBJECT_IDENTIFIER id_cmc_identityProof

### id_cmc_dataReturn

    public static final OBJECT_IDENTIFIER id_cmc_dataReturn

### id_cmc_transactionId

    public static final OBJECT_IDENTIFIER id_cmc_transactionId

### id_cmc_senderNonce

    public static final OBJECT_IDENTIFIER id_cmc_senderNonce

### id_cmc_recipientNonce

    public static final OBJECT_IDENTIFIER id_cmc_recipientNonce

### id_cmc_addExtensions

    public static final OBJECT_IDENTIFIER id_cmc_addExtensions

### id_cmc_encryptedPOP

    public static final OBJECT_IDENTIFIER id_cmc_encryptedPOP

### id_cmc_decryptedPOP

    public static final OBJECT_IDENTIFIER id_cmc_decryptedPOP

### id_cmc_lraPOPWitness

    public static final OBJECT_IDENTIFIER id_cmc_lraPOPWitness

### id_cmc_getCert

    public static final OBJECT_IDENTIFIER id_cmc_getCert

### id_cmc_getCRL

    public static final OBJECT_IDENTIFIER id_cmc_getCRL

### id_cmc_revokeRequest

    public static final OBJECT_IDENTIFIER id_cmc_revokeRequest

### id_cmc_regInfo

    public static final OBJECT_IDENTIFIER id_cmc_regInfo

### id_cmc_responseInfo

    public static final OBJECT_IDENTIFIER id_cmc_responseInfo

### id_cmc_QueryPending

    public static final OBJECT_IDENTIFIER id_cmc_QueryPending

### id_cmc_idPOPLinkRandom

    public static final OBJECT_IDENTIFIER id_cmc_idPOPLinkRandom

### id_cmc_idPOPLinkWitness

    public static final OBJECT_IDENTIFIER id_cmc_idPOPLinkWitness

### id_cmc_idConfirmCertAcceptance

    public static final OBJECT_IDENTIFIER id_cmc_idConfirmCertAcceptance

### id_cct

    public static final OBJECT_IDENTIFIER id_cct

### id_cct_PKIData

    public static final OBJECT_IDENTIFIER id_cct_PKIData

### id_cct_PKIResponse

    public static final OBJECT_IDENTIFIER id_cct_PKIResponse

### TAG

    public static final Tag TAG

### FORM

    public static final Form FORM

Constructor Detail

### OBJECT_IDENTIFIER

    public OBJECT_IDENTIFIER(long[] numbers)

  Creates an OBJECT_IDENTIFIER from an array of longs, which constitute the numbers that make up the OBJECT IDENTIFIER.

### OBJECT_IDENTIFIER

    public OBJECT_IDENTIFIER(java.lang.String dottedOID)
                      throws java.lang.NumberFormatException

  Creates an OBJECT_IDENTIFIER from a String version. The proper format for the OID string is dotted numbers, for example: "`3.2.456.53.23.64`".

Throws:
  `java.lang.NumberFormatException` - If the given string cannot be parsed into an OID.

Method Detail

### getTag

    public Tag getTag()

  Description copied from interface: `ASN1Value`
  Returns the base tag for this type, not counting any tags that may be imposed on it by its context.

  Specified by:
    `getTag` in interface `ASN1Value`

### getNumbers

    public long[] getNumbers()

### hashCode

    public int hashCode()

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

### subBranch

    public OBJECT_IDENTIFIER subBranch(long num)

  Creates a new OBJECT_IDENTIFIER that is a sub-branch of this one. For example, if `OBJECT_IDENTIFIER oid` has the value { 1 3 5 6 }, then calling `oid.subBranch(4)` would return a new OBJECT_IDENTIFIER with the value { 1 3 5 6 4 }.

### subBranch

    public OBJECT_IDENTIFIER subBranch(long[] newNums)

  Creates a new OBJECT_IDENTIFIER that is a sub-branch of this one. For example, if `OBJECT_IDENTIFIER oid` has the value { 1 3 5 6 }, then calling `oid.subBranch(new long[]{ 4, 3})` would return a new OBJECT_IDENTIFIER with the value { 1 3 5 6 4 3}.

### equals

    public boolean equals(java.lang.Object obj)

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

### toString

    public java.lang.String toString()

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

### encode

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

  Description copied from interface: `ASN1Value`
  Write this value's DER encoding to an output stream using its own base tag.

  Specified by:
    `encode` in interface `ASN1Value`
    `java.io.IOException`

### encode

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

  Description copied from interface: `ASN1Value`
  Write this value's DER encoding to an output stream using an implicit tag.

  Specified by:
    `encode` in interface `ASN1Value`
    `java.io.IOException`

### getTemplate

    public static OBJECT_IDENTIFIER.Template getTemplate()

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