import { BIT_STRING } from "@wildboar/asn1"; import * as $ from "@wildboar/asn1/functional"; /** * @summary ENCRYPTED_HASH * @description * * ### ASN.1 Definition: * * ```asn1 * ENCRYPTED-HASH{ToBeSigned} ::= BIT STRING (CONSTRAINED BY { * -- shall be the result of applying a hashing procedure to the DER-encoded (see 6.2) * -- octets of a value of -- ToBeSigned -- and then applying an encipherment procedure * -- to those octets -- } ) * ``` */ export type ENCRYPTED_HASH = BIT_STRING; /** * @summary Returns a function that will decode an ASN.1 element into a(n) ENCRYPTED_HASH * @function * @param {_Element} el The element being decoded. * @returns A function that will decode an ASN.1 element. */ export declare function _get_decoder_for_ENCRYPTED_HASH(_decode_ToBeSigned: $.ASN1Decoder): $.ASN1Decoder; /** * @summary Returns a function that will encode a(n) ENCRYPTED_HASH into an ASN.1 Element. * @function * @returns A function that will encode a(n) ENCRYPTED_HASH as an ASN.1 element. */ export declare function _get_encoder_for_ENCRYPTED_HASH(_encode_ToBeSigned: $.ASN1Encoder): $.ASN1Encoder; //# sourceMappingURL=ENCRYPTED-HASH.ta.d.mts.map