Package codes.grow.packages.vault
Class CreateKeyOptions
java.lang.Object
codes.grow.packages.vault.CreateKeyOptions
Options of
Transit.createKey(String, CreateKeyOptions).-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CreateKeyOptions.Builderbuilder()Starts a builder (default typeaes256-gcm96).static CreateKeyOptionsOptions for a key type with every other setting at its default.
-
Method Details
-
ofType
Options for a key type with every other setting at its default.- Parameters:
type- key type, e.g.aes256-gcm96,chacha20-poly1305,ed25519,ecdsa-p256,rsa-2048,hmac- Returns:
- the options
-
builder
Starts a builder (default typeaes256-gcm96).- Returns:
- a new builder
-