Skip to content

Errors #53

@ne-cyber

Description

@ne-cyber
  1. when reading Enumeration , it's write
    Catched error: InvalidAsn1Error: Expected 0xa: got 0xa0
    but we know Enumeration != 0xa && Enumeration == 0xa0

  2. when reading DER, must read not base64, but decoded base64:

let crtInPemBfr = Buffer.from(crtPem)
let crtInHexBfr = Buffer.from(crtInPemBfr , 'base64')
let reader = new asn1.BerReader(crtInHexBfr )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions