interface MessagingEncryptSuccessEventSanitised {
    category: "messaging";
    data: undefined;
    id: string;
    requestId: string;
    tenantId: string;
    timestamp: number;
    type: string;
    version: "1";
}

Properties

category: "messaging"
data: {
    aad: undefined | string;
    ciphertext: string;
    iv: undefined | string;
    protected: undefined | string;
    recipients: undefined | {
        encrypted_key: undefined | string;
        encryption_key: undefined | string;
        header: {
            alg: undefined | "ECDH-ES" | "ECDH-ES+A256KW" | "ECDH-1PU+A256KW";
            enc: undefined | "A256GCM" | "XC20P";
            epk: undefined | {
                crv: string;
                d: undefined | string;
                kid: undefined | string;
                kty: "OKP";
                x: undefined | string;
                y: undefined | string;
            } | {
                crv: string;
                d: undefined | string;
                kid: undefined | string;
                kty: "EC";
                x: undefined | string;
                y: undefined | string;
            } | {
                e: string;
                kty: "RSA";
                n: string;
            } | {
                d: string;
                dp: string;
                dq: string;
                e: string;
                kty: "RSA";
                n: string;
                p: string;
                q: string;
                qi: string;
            };
            kid: undefined | string;
            skid: undefined | string;
        };
    }[];
    tag: undefined | string;
    unprotected: undefined | string;
}

Type declaration

  • aad: undefined | string
  • ciphertext: string
  • iv: undefined | string
  • protected: undefined | string
  • recipients: undefined | {
        encrypted_key: undefined | string;
        encryption_key: undefined | string;
        header: {
            alg: undefined | "ECDH-ES" | "ECDH-ES+A256KW" | "ECDH-1PU+A256KW";
            enc: undefined | "A256GCM" | "XC20P";
            epk: undefined | {
                crv: string;
                d: undefined | string;
                kid: undefined | string;
                kty: "OKP";
                x: undefined | string;
                y: undefined | string;
            } | {
                crv: string;
                d: undefined | string;
                kid: undefined | string;
                kty: "EC";
                x: undefined | string;
                y: undefined | string;
            } | {
                e: string;
                kty: "RSA";
                n: string;
            } | {
                d: string;
                dp: string;
                dq: string;
                e: string;
                kty: "RSA";
                n: string;
                p: string;
                q: string;
                qi: string;
            };
            kid: undefined | string;
            skid: undefined | string;
        };
    }[]
  • tag: undefined | string
  • unprotected: undefined | string
id: string
requestId: string
tenantId: string
timestamp: number
type: string
version: "1"