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

Specifies the list of allowed key operations.

abstract WithCreate withKeyOperations(List<KeyOperation> keyOperations)

Specifies the list of allowed key operations.

Method Details

withKeyOperations

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