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, params
Methods borrowed from class KJUR.asn1.ASN1Object:
getEncodedHex, getLengthHexFromValue, getValueHex, tohex
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'},
    "1.2.3.4",
    "serverAuth"
  ]
});
// 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-2023 Kenji Urushima, All rights reserved
Documentation generated by JsDoc Toolkit 2.4.0