Class Index | File Index

Classes


Class KJUR.asn1.x509.ExtKeyUsage


Extends KJUR.asn1.x509.Extension.
ExtKeyUsage ASN.1 structure class
Defined in: asn1x509-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
KeyUsage ASN.1 structure class
Fields borrowed from class KJUR.asn1.ASN1Object:
hL, hT, hTLV, hV, isModified
Methods borrowed from class KJUR.asn1.ASN1Object:
getEncodedHex, getLengthHexFromValue, getValueHex
Class Detail
KJUR.asn1.x509.ExtKeyUsage(params)
KeyUsage ASN.1 structure class
e1 = new KJUR.asn1.x509.ExtKeyUsage({
  critical: true,
  array: [
    {oid: '2.5.29.37.0'},  // anyExtendedKeyUsage
    {name: 'clientAuth'}
  ]
});
// id-ce-extKeyUsage OBJECT IDENTIFIER ::= { id-ce 37 }
// ExtKeyUsageSyntax ::= SEQUENCE SIZE (1..MAX) OF KeyPurposeId
// KeyPurposeId ::= OBJECT IDENTIFIER
Parameters:
{Array} params
associative array of parameters

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