Class Index | File Index

Classes


Class KJUR.asn1.DERObjectIdentifier


Extends KJUR.asn1.ASN1Object.
class for ASN.1 DER ObjectIdentifier
Defined in: asn1-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
class for ASN.1 DER ObjectIdentifier
As for argument 'params' for constructor, you can specify one of following properties:
  • oid - specify initial ASN.1 value(V) by a oid string (ex.
Fields borrowed from class KJUR.asn1.ASN1Object:
hL, hT, hTLV, hV, isModified
Method Summary
Method Attributes Method Name and Description
<static>  
KJUR.asn1.DERObjectIdentifier.setValueHex(newHexString)
set value by a hexadecimal string
<static>  
KJUR.asn1.DERObjectIdentifier.setValueName(oidName)
set value by a OID name OID name shall be defined in 'KJUR.asn1.x509.OID.name2oidList'.
<static>  
KJUR.asn1.DERObjectIdentifier.setValueOidString(oidString)
set value by a OID string
Class Detail
KJUR.asn1.DERObjectIdentifier(params)
class for ASN.1 DER ObjectIdentifier
As for argument 'params' for constructor, you can specify one of following properties:
  • oid - specify initial ASN.1 value(V) by a oid string (ex. 2.5.4.13)
  • hex - specify initial ASN.1 value(V) by a hexadecimal string
NOTE: 'params' can be omitted.
Parameters:
{Array} params
associative array of parameters (ex. {'oid': '2.5.4.5'})
Method Detail
<static> KJUR.asn1.DERObjectIdentifier.setValueHex(newHexString)
set value by a hexadecimal string
Parameters:
{String} newHexString
hexadecimal value of OID bytes

<static> KJUR.asn1.DERObjectIdentifier.setValueName(oidName)
set value by a OID name OID name shall be defined in 'KJUR.asn1.x509.OID.name2oidList'. Otherwise raise error.
Parameters:
{String} oidName
OID name (ex. 'serverAuth')
Since:
1.0.1

<static> KJUR.asn1.DERObjectIdentifier.setValueOidString(oidString)
set value by a OID string
Parameters:
{String} oidString
OID string (ex. 2.5.4.13)

© 2012-2015 Kenji Urushima, All rights reserved
Documentation generated by JsDoc Toolkit 2.4.0