public class JweConfigBuilder extends Object
| Constructor and Description |
|---|
JweConfigBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static JweConfigBuilder |
aJweEncryptionConfig()
Get an instance of the builder.
|
JweConfig |
build()
Build a
JweConfig. |
JweConfigBuilder |
withDecryptionKey(PrivateKey decryptionKey)
|
JweConfigBuilder |
withDecryptionPath(String jsonPathIn,
String jsonPathOut)
|
JweConfigBuilder |
withEncryptedValueFieldName(String encryptedValueFieldName)
|
JweConfigBuilder |
withEncryptionCertificate(Certificate encryptionCertificate)
|
JweConfigBuilder |
withEncryptionPath(String jsonPathIn,
String jsonPathOut)
|
public static JweConfigBuilder aJweEncryptionConfig()
public JweConfig build() throws EncryptionException
JweConfig.EncryptionExceptionpublic JweConfigBuilder withDecryptionKey(PrivateKey decryptionKey)
public JweConfigBuilder withDecryptionPath(String jsonPathIn, String jsonPathOut)
public JweConfigBuilder withEncryptedValueFieldName(String encryptedValueFieldName)
public JweConfigBuilder withEncryptionCertificate(Certificate encryptionCertificate)
public JweConfigBuilder withEncryptionPath(String jsonPathIn, String jsonPathOut)
Copyright © 2021. All rights reserved.