diff --git a/openpgp.d.ts b/openpgp.d.ts index 50fe49de..d36b424f 100644 --- a/openpgp.d.ts +++ b/openpgp.d.ts @@ -518,12 +518,19 @@ export class SignaturePacket extends BasePacket { public issuerFingerprint: null | Uint8Array; public preferredAEADAlgorithms: enums.aead[] | null; public revoked: null | boolean; + public rawNotations: RawNotation[]; public sign(key: AnySecretKeyPacket, data: Uint8Array, date?: Date, detached?: boolean): Promise; public verify(key: AnyKeyPacket, signatureType: enums.signature, data: Uint8Array | object, date?: Date, detached?: boolean, config?: Config): Promise; // throws on error public isExpired(date?: Date): boolean; public getExpirationTime(): Date | typeof Infinity; } +export interface RawNotation { + name: string; + value: Uint8Array; + humanReadable: boolean; +} + export class TrustPacket extends BasePacket { static readonly tag: enums.packet.trust; }