Type alias JwkParamsOctPrivate

JwkParamsOctPrivate: Omit<JwkParamsAnyKeyType, "alg" | "kty"> & {
    alg?: "A128CBC" | "A192CBC" | "A256CBC" | "A128CTR" | "A192CTR" | "A256CTR" | "A128GCM" | "A192GCM" | "A256GCM" | "HS256" | "HS384" | "HS512";
    k: string;
    kty: "oct";
}

Parameters used with "oct" (octet sequence) private keys.

Type declaration

  • Optional alg?: "A128CBC" | "A192CBC" | "A256CBC" | "A128CTR" | "A192CTR" | "A256CTR" | "A128GCM" | "A192GCM" | "A256GCM" | "HS256" | "HS384" | "HS512"

    The algorithm intended for use with the key. Used with symmetric signing (e.g., HMAC HS256, etc.) and symmetric encryption (e.g., A256GCM, etc.) algorithms.

  • k: string

    The "k" (key value) parameter contains the value of the symmetric (or other single-valued) key. It is represented as the base64url encoding of the octet sequence containing the key value.

  • kty: "oct"

    Key type oct (Octet Sequence) is defined for symmetric encryption and symmetric signature algorithms.