Key.DefinitionStages.WithKeyOperations Interface

public static interface Key.DefinitionStages.WithKeyOperations

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

Method Summary

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

Specifies the list of allowed key operations.

abstract WithCreate withKeyOperations(List<JsonWebKeyOperation> keyOperations)

Specifies the list of allowed key operations.

Method Details

withKeyOperations

public abstract Key.DefinitionStages.WithCreate 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 definition

withKeyOperations

public abstract Key.DefinitionStages.WithCreate 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 definition

Applies to