@wildboar/qc
Version:
Qualified Certificates in TypeScript
45 lines • 1.19 kB
text/typescript
import { OBJECT_IDENTIFIER } from "@wildboar/asn1";
import * as $ from "@wildboar/asn1/functional";
/**
* @summary QC_STATEMENT
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* QC-STATEMENT ::= CLASS {
* &id OBJECT IDENTIFIER UNIQUE,
* &Type OPTIONAL }
* WITH SYNTAX {
* [SYNTAX &Type] IDENTIFIED BY &id }
* ```
*
* @interface
*/
export interface QC_STATEMENT<Type = any> {
/**
* @summary A fixed string that can be used for external programs to determine the object class of this object.
*/
readonly class: "QC-STATEMENT";
/**
* @summary A map of type fields to their corresponding decoders.
*/
readonly decoderFor: Partial<{
[_K in keyof QC_STATEMENT<Type>]: $.ASN1Decoder<QC_STATEMENT<Type>[_K]>;
}>;
/**
* @summary A map of type fields to their corresponding encoders.
*/
readonly encoderFor: Partial<{
[_K in keyof QC_STATEMENT<Type>]: $.ASN1Encoder<QC_STATEMENT<Type>[_K]>;
}>;
/**
* @summary &id
*/
readonly "&id"?: OBJECT_IDENTIFIER;
/**
* @summary &Type
*/
readonly "&Type": Type;
}
//# sourceMappingURL=QC-STATEMENT.oca.d.mts.map