Class JsonWebKeySet

java.lang.Object
com.azure.resourcemanager.attestation.models.JsonWebKeySet

public final class JsonWebKeySet extends Object
The JsonWebKeySet model.
  • Constructor Details

    • JsonWebKeySet

      public JsonWebKeySet()
      Creates an instance of JsonWebKeySet class.
  • Method Details

    • keys

      public List<JsonWebKey> keys()
      Get the keys property: The value of the "keys" parameter is an array of JWK values. By default, the order of the JWK values within the array does not imply an order of preference among them, although applications of JWK Sets can choose to assign a meaning to the order for their purposes, if desired.
      Returns:
      the keys value.
    • withKeys

      public JsonWebKeySet withKeys(List<JsonWebKey> keys)
      Set the keys property: The value of the "keys" parameter is an array of JWK values. By default, the order of the JWK values within the array does not imply an order of preference among them, although applications of JWK Sets can choose to assign a meaning to the order for their purposes, if desired.
      Parameters:
      keys - the keys value to set.
      Returns:
      the JsonWebKeySet object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.