/** * @license * Copyright (c) Peculiar Ventures, LLC. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import { Attribute, Extension } from '@peculiar/asn1-x509'; /** * Build a minimal Extension object from a raw DER-encoded value hex string. * The `valueHex` should be the DER bytes of the extension value (what * `AsnParser` would normally read from `extnValue.buffer`). */ export declare function makeExtRaw(oid: string, valueHex: string, critical?: boolean): Extension; /** * Build a minimal Attribute object from a raw DER-encoded value hex string. * The `valueHex` should be the DER bytes of the attribute value (what * `AsnParser` would normally read from `attribute.values[0]`). */ export declare function makeAttrRaw(oid: string, valueHex: string): Attribute;