Class OciVaultSecurityProvider.OciVaultDigestConfig.Builder
- java.lang.Object
-
- io.helidon.integrations.oci.vault.OciVaultSecurityProvider.OciVaultDigestConfig.Builder
-
- All Implemented Interfaces:
Builder<OciVaultSecurityProvider.OciVaultDigestConfig>
,Supplier<OciVaultSecurityProvider.OciVaultDigestConfig>
- Enclosing class:
- OciVaultSecurityProvider.OciVaultDigestConfig
public static class OciVaultSecurityProvider.OciVaultDigestConfig.Builder extends Object implements Builder<OciVaultSecurityProvider.OciVaultDigestConfig>
Fluent API builder forOciVaultSecurityProvider.OciVaultDigestConfig
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OciVaultSecurityProvider.OciVaultDigestConfig.Builder
algorithm(String algorithm)
Algorithm to sign with.OciVaultSecurityProvider.OciVaultDigestConfig
build()
Build the instance from this builder.OciVaultSecurityProvider.OciVaultDigestConfig.Builder
config(Config config)
Update this builder from configuration.OciVaultSecurityProvider.OciVaultDigestConfig.Builder
cryptographicEndpoint(String cryptographicEndpoint)
Crypto endpoint to use.OciVaultSecurityProvider.OciVaultDigestConfig.Builder
keyId(String keyOcid)
OCID of the key to use for signature.OciVaultSecurityProvider.OciVaultDigestConfig.Builder
keyVersionId(String keyVersionOcid)
OCID of the key version.
-
-
-
Method Detail
-
build
public OciVaultSecurityProvider.OciVaultDigestConfig build()
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<OciVaultSecurityProvider.OciVaultDigestConfig>
- Returns:
- instance of the built type
-
config
public OciVaultSecurityProvider.OciVaultDigestConfig.Builder config(Config config)
Update this builder from configuration. Configuration options:Secret configuration key description builder method key-ocid
OCID of the vault key to use for signatures, must be RSA keyId(String)
key-version-ocid
OCID of the key version keyVersionId(String)
algorithm
Signature algorithm algorithm(String)
cryptographic-endpoint
Cryptographic endpoint to use for signatures (available in console) cryptographicEndpoint(String)
- Parameters:
config
- config to use- Returns:
- updated builder
-
keyId
public OciVaultSecurityProvider.OciVaultDigestConfig.Builder keyId(String keyOcid)
OCID of the key to use for signature.- Parameters:
keyOcid
- OCID of the key- Returns:
- updated builder
- See Also:
Sign.Request.keyId(String)
-
algorithm
public OciVaultSecurityProvider.OciVaultDigestConfig.Builder algorithm(String algorithm)
Algorithm to sign with.- Parameters:
algorithm
- algorithm- Returns:
- updated builder
- See Also:
Sign.Request.algorithm(String)
-
keyVersionId
public OciVaultSecurityProvider.OciVaultDigestConfig.Builder keyVersionId(String keyVersionOcid)
OCID of the key version.- Parameters:
keyVersionOcid
- version OCID- Returns:
- updated builder
- See Also:
Sign.Request.keyVersionId(String)
-
cryptographicEndpoint
public OciVaultSecurityProvider.OciVaultDigestConfig.Builder cryptographicEndpoint(String cryptographicEndpoint)
Crypto endpoint to use.- Parameters:
cryptographicEndpoint
- endpoint- Returns:
- udpated builder
- See Also:
OciVaultRx.Builder.cryptographicEndpoint(String)
-
-