JSONWebKeyArgs

data class JSONWebKeyArgs(val alg: Output<String>? = null, val crv: Output<String>? = null, val d: Output<String>? = null, val dp: Output<String>? = null, val dq: Output<String>? = null, val e: Output<String>? = null, val k: Output<String>? = null, val kid: Output<String>? = null, val kty: Output<String>, val n: Output<String>? = null, val p: Output<String>? = null, val q: Output<String>? = null, val qi: Output<String>? = null, val use: Output<String>? = null, val x: Output<String>? = null, val x5c: Output<List<String>>? = null, val y: Output<String>? = null) : ConvertibleToJava<JSONWebKeyArgs>

Constructors

Link copied to clipboard
constructor(alg: Output<String>? = null, crv: Output<String>? = null, d: Output<String>? = null, dp: Output<String>? = null, dq: Output<String>? = null, e: Output<String>? = null, k: Output<String>? = null, kid: Output<String>? = null, kty: Output<String>, n: Output<String>? = null, p: Output<String>? = null, q: Output<String>? = null, qi: Output<String>? = null, use: Output<String>? = null, x: Output<String>? = null, x5c: Output<List<String>>? = null, y: Output<String>? = null)

Properties

Link copied to clipboard
val alg: Output<String>? = null

The "alg" (algorithm) parameter identifies the algorithm intended for use with the key. The values used should either be registered in the IANA "JSON Web Signature and Encryption Algorithms" registry established by JWA or be a value that contains a Collision- Resistant Name.

Link copied to clipboard
val crv: Output<String>? = null

The "crv" (curve) parameter identifies the curve type

Link copied to clipboard
val d: Output<String>? = null

RSA private exponent or ECC private key

Link copied to clipboard
val dp: Output<String>? = null

RSA Private Key Parameter

Link copied to clipboard
val dq: Output<String>? = null

RSA Private Key Parameter

Link copied to clipboard
val e: Output<String>? = null

RSA public exponent, in Base64

Link copied to clipboard
val k: Output<String>? = null

Symmetric key

Link copied to clipboard
val kid: Output<String>? = null

The "kid" (key ID) parameter is used to match a specific key. This is used, for instance, to choose among a set of keys within a JWK Set during key rollover. The structure of the "kid" value is unspecified. When "kid" values are used within a JWK Set, different keys within the JWK Set SHOULD use distinct "kid" values. (One example in which different keys might use the same "kid" value is if they have different "kty" (key type) values but are considered to be equivalent alternatives by the application using them.) The "kid" value is a case-sensitive string.

Link copied to clipboard
val kty: Output<String>

The "kty" (key type) parameter identifies the cryptographic algorithm family used with the key, such as "RSA" or "EC". "kty" values should either be registered in the IANA "JSON Web Key Types" registry established by JWA or be a value that contains a Collision- Resistant Name. The "kty" value is a case-sensitive string.

Link copied to clipboard
val n: Output<String>? = null

RSA modulus, in Base64

Link copied to clipboard
val p: Output<String>? = null

RSA secret prime

Link copied to clipboard
val q: Output<String>? = null

RSA secret prime, with p < q

Link copied to clipboard
val qi: Output<String>? = null

RSA Private Key Parameter

Link copied to clipboard
val use: Output<String>? = null

Use ("public key use") identifies the intended use of the public key. The "use" parameter is employed to indicate whether a public key is used for encrypting data or verifying the signature on data. Values are commonly "sig" (signature) or "enc" (encryption).

Link copied to clipboard
val x: Output<String>? = null

X coordinate for the Elliptic Curve point

Link copied to clipboard
val x5c: Output<List<String>>? = null

The "x5c" (X.509 certificate chain) parameter contains a chain of one or more PKIX certificates RFC5280. The certificate chain is represented as a JSON array of certificate value strings. Each string in the array is a base64-encoded (Section 4 of RFC4648 -- not base64url-encoded) DER ITU.X690.1994 PKIX certificate value. The PKIX certificate containing the key value MUST be the first certificate.

Link copied to clipboard
val y: Output<String>? = null

Y coordinate for the Elliptic Curve point

Functions

Link copied to clipboard
open override fun toJava(): JSONWebKeyArgs