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(KeyOperation[] keyOperations)

Specifies the list of allowed key operations.

abstract Update withKeyOperations(List<KeyOperation> keyOperations)

Specifies the list of allowed key operations.

Method Details

withKeyOperations

public abstract Key.Update withKeyOperations(KeyOperation[] 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