UNPKG

@wildboar/pkcs

Version:
85 lines (84 loc) 2.1 kB
import * as $ from "@wildboar/asn1/functional"; /** * @summary Operations_compute_checksum * @constant */ export const Operations_compute_checksum = 0; /* LONG_NAMED_BIT */ /** * @summary compute_checksum * @constant */ export const compute_checksum = Operations_compute_checksum; /* SHORT_NAMED_BIT */ /** * @summary Operations_compute_signature * @constant */ export const Operations_compute_signature = 1; /* LONG_NAMED_BIT */ /** * @summary compute_signature * @constant */ export const compute_signature = Operations_compute_signature; /* SHORT_NAMED_BIT */ /** * @summary Operations_verify_checksum * @constant */ export const Operations_verify_checksum = 2; /* LONG_NAMED_BIT */ /** * @summary verify_checksum * @constant */ export const verify_checksum = Operations_verify_checksum; /* SHORT_NAMED_BIT */ /** * @summary Operations_verify_signature * @constant */ export const Operations_verify_signature = 3; /* LONG_NAMED_BIT */ /** * @summary verify_signature * @constant */ export const verify_signature = Operations_verify_signature; /* SHORT_NAMED_BIT */ /** * @summary Operations_encipher * @constant */ export const Operations_encipher = 4; /* LONG_NAMED_BIT */ /** * @summary encipher * @constant */ export const encipher = Operations_encipher; /* SHORT_NAMED_BIT */ /** * @summary Operations_decipher * @constant */ export const Operations_decipher = 5; /* LONG_NAMED_BIT */ /** * @summary decipher * @constant */ export const decipher = Operations_decipher; /* SHORT_NAMED_BIT */ /** * @summary Operations_hash * @constant */ export const Operations_hash = 6; /* LONG_NAMED_BIT */ /** * @summary hash * @constant */ export const hash = Operations_hash; /* SHORT_NAMED_BIT */ /** * @summary Operations_generate_key * @constant */ export const Operations_generate_key = 7; /* LONG_NAMED_BIT */ /** * @summary generate_key * @constant */ export const generate_key = Operations_generate_key; /* SHORT_NAMED_BIT */ export const _decode_Operations = $._decodeBitString; export const _encode_Operations = $._encodeBitString; /* eslint-enable */