pasn
Class ASN1ObjectIdentifier

java.lang.Object
  extended by pasn.ASN1Object
      extended by pasn.ASN1SimpleObject<ASN1IdentifierValue>
          extended by pasn.ASN1Identifier
              extended by pasn.ASN1ObjectIdentifier
All Implemented Interfaces:
ASN1DefaultValuedObject, ASN1EncodingSpecificObject, ASN1GenericObject, ASN1PrimitiveObject<ASN1IdentifierValue>, ASN1Resetable

public class ASN1ObjectIdentifier
extends ASN1Identifier

An ASN.1 OBJECT IDENTIFIER (OID) is a constrained identifier. This constraint appears in the first two integers definition that must follow the rules mentionned hereafter:

Next values must be positive integers (including 0)

Author:
N. Cottin - http://www.ncottin.net
See Also:
ASN1RelativeIdentifier

Constructor Summary
ASN1ObjectIdentifier()
           
 
Method Summary
 java.lang.String getASN1Name()
           
 void validateConstraints(ASN1IdentifierValue value)
           
 
Methods inherited from class pasn.ASN1Identifier
getMaximumSize, getMinimumSize, getStringDefaultValue, getStringValue, hasDefaultValue, hasValue, isValueDefault, reset, setDecodedValue, setDefaultValue, setMaximumSize, setMinimumSize, setValue, setValue, toString
 
Methods inherited from class pasn.ASN1SimpleObject
equals, getDefaultValue, getValue, getValueOrDefault, hasValueOrDefault, setDefaultValue, setValue
 
Methods inherited from class pasn.ASN1Object
getAsnClass, getSpecificEncoding, getSpecificEncoding, getType, hasSpecificEncodings, setSpecificEncoding
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface pasn.ASN1GenericObject
getAsnClass, getType
 
Methods inherited from interface pasn.ASN1EncodingSpecificObject
getSpecificEncoding, hasSpecificEncodings
 

Constructor Detail

ASN1ObjectIdentifier

public ASN1ObjectIdentifier()
Method Detail

getASN1Name

public final java.lang.String getASN1Name()

validateConstraints

public final void validateConstraints(ASN1IdentifierValue value)
                               throws ASN1ConstraintException
Throws:
ASN1ConstraintException