JsonWebKeySignatureAlgorithm Class

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

public class JsonWebKeySignatureAlgorithm

Defines values for JsonWebKeySignatureAlgorithm.

Field Summary

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

All the JWK signature algorithms.

final JsonWebKeySignatureAlgorithm RS256

Static value RS256 for JsonWebKeySignatureAlgorithm.

final JsonWebKeySignatureAlgorithm RS384

Static value RS384 for JsonWebKeySignatureAlgorithm.

final JsonWebKeySignatureAlgorithm RS512

Static value RS512 for JsonWebKeySignatureAlgorithm.

final JsonWebKeySignatureAlgorithm RSNULL

Static value RSNULL for JsonWebKeySignatureAlgorithm.

Constructor Summary

Constructor Description
JsonWebKeySignatureAlgorithm(String value)

Creates a custom value for JsonWebKeySignatureAlgorithm.

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(RS256, RS384, RS512, RSNULL))

All the JWK signature algorithms.

RS256

public static final JsonWebKeySignatureAlgorithm RS256= new JsonWebKeySignatureAlgorithm("RS256")

Static value RS256 for JsonWebKeySignatureAlgorithm.

RS384

public static final JsonWebKeySignatureAlgorithm RS384= new JsonWebKeySignatureAlgorithm("RS384")

Static value RS384 for JsonWebKeySignatureAlgorithm.

RS512

public static final JsonWebKeySignatureAlgorithm RS512= new JsonWebKeySignatureAlgorithm("RS512")

Static value RS512 for JsonWebKeySignatureAlgorithm.

RSNULL

public static final JsonWebKeySignatureAlgorithm RSNULL= new JsonWebKeySignatureAlgorithm("RSNULL")

Static value RSNULL for JsonWebKeySignatureAlgorithm.

Constructor Details

JsonWebKeySignatureAlgorithm

public JsonWebKeySignatureAlgorithm(String value)

Creates a custom value for JsonWebKeySignatureAlgorithm.

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