@hpke/core
    Preparing search index...

    Interface JsonWebKeyExtended

    Extended JsonWebKey interface to support pub and priv properties, which are not supported by the current JsonWebKey. Both of them are defined for the newly defined JSON WWb Key type AKP (Algorithm Key Pair), which is used to express Public and Private Keys for use with Algorithms.

    interface JsonWebKeyExtended {
        alg?: string;
        crv?: string;
        d?: string;
        dp?: string;
        dq?: string;
        e?: string;
        ext?: boolean;
        k?: string;
        key_ops?: string[];
        kty?: string;
        n?: string;
        oth?: RsaOtherPrimesInfo[];
        p?: string;
        priv?: string;
        pub?: string;
        q?: string;
        qi?: string;
        use?: string;
        x?: string;
        y?: string;
    }

    Hierarchy

    • JsonWebKey
      • JsonWebKeyExtended
    Index

    Properties

    alg?: string
    crv?: string
    d?: string
    dp?: string
    dq?: string
    e?: string
    ext?: boolean
    k?: string
    key_ops?: string[]
    kty?: string
    n?: string
    oth?: RsaOtherPrimesInfo[]
    p?: string
    priv?: string

    The private key in base64url encoding, which is used with the 'AKP' key type.

    pub?: string

    The public key in base64url encoding, which is used with the 'AKP' key type.

    q?: string
    qi?: string
    use?: string
    x?: string
    y?: string