JsonWebKeyType Class

  • java.lang.Object
    • com.microsoft.azure.keyvault.webkey.JsonWebKeyType

public class JsonWebKeyType

Defines values for JsonWebKeyType.

Field Summary

Modifier and Type Field and Description
final List<JsonWebKeyType> ALL_TYPES

All the JWK key types.

final JsonWebKeyType EC

Static value EC for JsonWebKeyType.

final JsonWebKeyType OCT

Static value oct for JsonWebKeyType.

final JsonWebKeyType RSA

Static value RSA for JsonWebKeyType.

final JsonWebKeyType RSA_HSM

Static value RSA-HSM for JsonWebKeyType.

Constructor Summary

Constructor Description
JsonWebKeyType(String value)

Creates a custom value for JsonWebKeyType.

Method Summary

Modifier and Type Method and Description
boolean equals(Object obj)
int hashCode()
String toString()

Field Details

ALL_TYPES

public static final List ALL_TYPES= Collections.unmodifiableList(Arrays.asList(EC, RSA, RSA_HSM, OCT))

All the JWK key types.

EC

public static final JsonWebKeyType EC= new JsonWebKeyType("EC")

Static value EC for JsonWebKeyType.

OCT

public static final JsonWebKeyType OCT= new JsonWebKeyType("oct")

Static value oct for JsonWebKeyType.

RSA

public static final JsonWebKeyType RSA= new JsonWebKeyType("RSA")

Static value RSA for JsonWebKeyType.

RSA_HSM

public static final JsonWebKeyType RSA_HSM= new JsonWebKeyType("RSA-HSM")

Static value RSA-HSM for JsonWebKeyType.

Constructor Details

JsonWebKeyType

public JsonWebKeyType(String value)

Creates a custom value for JsonWebKeyType.

Parameters:

value - the custom value

Method Details

equals

public boolean equals(Object obj)

Parameters:

obj

hashCode

public int hashCode()

toString

public String toString()

Applies to