JsonWebKeyEncryptionAlgorithm Class

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

public class JsonWebKeyEncryptionAlgorithm

Defines values for JsonWebKeyEncryptionAlgorithm.

Field Summary

Modifier and Type Field and Description
final List<JsonWebKeyEncryptionAlgorithm> ALL_ALGORITHMS

All the JWK encryption algorithms.

final JsonWebKeyEncryptionAlgorithm RSA_OAEP

Static value RSA-OAEP for JsonWebKeyEncryptionAlgorithm.

final JsonWebKeyEncryptionAlgorithm RSA1_5

Static value RSA1_5 for JsonWebKeyEncryptionAlgorithm.

Constructor Summary

Constructor Description
JsonWebKeyEncryptionAlgorithm(String value)

Creates a custom value for JsonWebKeyEncryptionAlgorithm.

Method Summary

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

Field Details

ALL_ALGORITHMS

public static final List ALL_ALGORITHMS= Collections.unmodifiableList(Arrays.asList(RSA_OAEP, RSA1_5))

All the JWK encryption algorithms.

RSA_OAEP

public static final JsonWebKeyEncryptionAlgorithm RSA_OAEP= new JsonWebKeyEncryptionAlgorithm("RSA-OAEP")

Static value RSA-OAEP for JsonWebKeyEncryptionAlgorithm.

RSA1_5

public static final JsonWebKeyEncryptionAlgorithm RSA1_5= new JsonWebKeyEncryptionAlgorithm("RSA1_5")

Static value RSA1_5 for JsonWebKeyEncryptionAlgorithm.

Constructor Details

JsonWebKeyEncryptionAlgorithm

public JsonWebKeyEncryptionAlgorithm(String value)

Creates a custom value for JsonWebKeyEncryptionAlgorithm.

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