Key.UpdateStages.WithKeyOperations Interface

public static interface Key.UpdateStages.WithKeyOperations

The stage of a key update allowing to specify the allowed operations for the key.

Method Summary

Modifier and Type Method and Description
abstract Update withKeyOperations(JsonWebKeyOperation[] keyOperations)

Specifies the list of allowed key operations.

abstract Update withKeyOperations(List<JsonWebKeyOperation> keyOperations)

Specifies the list of allowed key operations.

Method Details

withKeyOperations

public abstract Key.Update withKeyOperations(JsonWebKeyOperation[] keyOperations)

Specifies the list of allowed key operations. By default all operations are allowed.

Parameters:

keyOperations - the list of JWK operations

Returns:

the next stage of the update

withKeyOperations

public abstract Key.Update withKeyOperations(List keyOperations)

Specifies the list of allowed key operations. By default all operations are allowed.

Parameters:

keyOperations - the list of JWK operations

Returns:

the next stage of the update

Applies to