public class SpringDefaultFileKeyManager extends DefaultFileKeyManager
BTCPAY_SERVER_PRIVATE_KEYNAME, BTCPAY_SERVER_PUBLIC_KEYNAME, btcPayServerHelper, clock, secretKey, SYMMENTRIC_FILENAME
log
Constructor and Description |
---|
SpringDefaultFileKeyManager() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getAsymTrustStorePath()
Returns the path of directory where trusted public key files are stored.
|
protected java.lang.String |
getKeyStorePath()
Returns the path of directory where key files are stored.
|
protected java.lang.String |
getProtectPassphrase()
Method to retrieve the configured pass phrase used to protect generated keys.
|
generateAndStoreSymmetricKey, genPublicBTCPayServerFile, getAsymKeyPair, getBTCPayServerKeyPair, getECKeyFactory, getPrivateKey, getPublicKey, getRSAKeyFactory, getSymmetricKey, getSymmetricKeyFile, getTrustedKeys, parseSymmetricKeyFile
getDirectory, getDirectory, getProtectPassphraseWithDefault, getProvider
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProvider
protected java.lang.String getAsymTrustStorePath() throws InternalErrorException
getAsymTrustStorePath
in class DefaultFileKeyManager
InternalErrorException
- if internal error occurred retrieving the trust store path.protected java.lang.String getKeyStorePath() throws InternalErrorException
getKeyStorePath
in class FileKeyManager
InternalErrorException
- if internal error occurred retrieving the key store path.protected java.lang.String getProtectPassphrase() throws InternalErrorException
getProtectPassphrase
in class FileKeyManager
InternalErrorException
- if internal error occurred retrieving configuration.