public class StandardKeyStoreBuilder extends Object implements KeyStoreBuilder
| Modifier and Type | Field and Description |
|---|---|
private InputStream |
inputStream |
private char[] |
password |
private String |
provider |
private String |
type |
| Constructor and Description |
|---|
StandardKeyStoreBuilder() |
| Modifier and Type | Method and Description |
|---|---|
KeyStore |
build()
Build Key Store using configured properties
|
private KeyStore |
getKeyStore() |
StandardKeyStoreBuilder |
inputStream(InputStream inputStream)
Set Key Store InputStream to be loaded
|
StandardKeyStoreBuilder |
password(char[] password)
Set Key Store Password
|
StandardKeyStoreBuilder |
provider(String provider)
Set Key Store Provider for Key Store implementation
|
StandardKeyStoreBuilder |
type(String type)
Set Key Store Type defaults to platform configuration derived from KeyStore.getDefaultType()
|
private String provider
private String type
private InputStream inputStream
private char[] password
public KeyStore build()
build in interface KeyStoreBuilderpublic StandardKeyStoreBuilder provider(String provider)
provider - Key Store Providerpublic StandardKeyStoreBuilder type(String type)
type - Key Store Typepublic StandardKeyStoreBuilder password(char[] password)
password - Key Store Passwordpublic StandardKeyStoreBuilder inputStream(InputStream inputStream)
inputStream - Key Store InputStreamprivate KeyStore getKeyStore()
Copyright © 2023 Apache NiFi Project. All rights reserved.