import type { X509Context } from '../../c-mdoc.js'; import type { ProtectedHeaders, UnprotectedHeaders } from '../../cose/headers.js'; import { Sign1 } from '../../cose/sign1.js'; import type { MSO } from './types.js'; /** * The IssuerAuth which is a COSE_Sign1 message * as defined in https://www.iana.org/assignments/cose/cose.xhtml#messages */ export default class IssuerAuth extends Sign1 { #private; constructor(protectedHeader: Map | Uint8Array, unprotectedHeader: Map, payload: Uint8Array, signature?: Uint8Array); get decodedPayload(): MSO; get certificateChain(): [Uint8Array, ...Uint8Array[]]; get certificate(): Uint8Array; getIssuingCountry(ctx: { x509: X509Context; }): string | undefined; getIssuingStateOrProvince(ctx: { x509: X509Context; }): string | undefined; static create(protectedHeaders: ProtectedHeaders, unprotectedHeaders: UnprotectedHeaders | undefined, payload: Uint8Array): IssuerAuth; } //# sourceMappingURL=issuer-auth.d.ts.map