JsonWebKeyOperation Class

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

public class JsonWebKeyOperation

Defines values for JsonWebKeyOperation.

Field Summary

Modifier and Type Field and Description
final List<JsonWebKeyOperation> ALL_OPERATIONS

All the JWK operations.

final JsonWebKeyOperation DECRYPT

Static value decrypt for JsonWebKeyOperation.

final JsonWebKeyOperation ENCRYPT

Static value encrypt for JsonWebKeyOperation.

final JsonWebKeyOperation SIGN

Static value sign for JsonWebKeyOperation.

final JsonWebKeyOperation UNWRAP_KEY

Static value unwrapKey for JsonWebKeyOperation.

final JsonWebKeyOperation VERIFY

Static value verify for JsonWebKeyOperation.

final JsonWebKeyOperation WRAP_KEY

Static value wrapKey for JsonWebKeyOperation.

Constructor Summary

Constructor Description
JsonWebKeyOperation(String value)

Creates a custom value for JsonWebKeyOperation.

Method Summary

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

Field Details

ALL_OPERATIONS

public static final List ALL_OPERATIONS= Collections.unmodifiableList(Arrays.asList(ENCRYPT, DECRYPT, SIGN, VERIFY, WRAP_KEY, UNWRAP_KEY))

All the JWK operations.

DECRYPT

public static final JsonWebKeyOperation DECRYPT= new JsonWebKeyOperation("decrypt")

Static value decrypt for JsonWebKeyOperation.

ENCRYPT

public static final JsonWebKeyOperation ENCRYPT= new JsonWebKeyOperation("encrypt")

Static value encrypt for JsonWebKeyOperation.

SIGN

public static final JsonWebKeyOperation SIGN= new JsonWebKeyOperation("sign")

Static value sign for JsonWebKeyOperation.

UNWRAP_KEY

public static final JsonWebKeyOperation UNWRAP_KEY= new JsonWebKeyOperation("unwrapKey")

Static value unwrapKey for JsonWebKeyOperation.

VERIFY

public static final JsonWebKeyOperation VERIFY= new JsonWebKeyOperation("verify")

Static value verify for JsonWebKeyOperation.

WRAP_KEY

public static final JsonWebKeyOperation WRAP_KEY= new JsonWebKeyOperation("wrapKey")

Static value wrapKey for JsonWebKeyOperation.

Constructor Details

JsonWebKeyOperation

public JsonWebKeyOperation(String value)

Creates a custom value for JsonWebKeyOperation.

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