public class SpringDefaultFileKeyManager extends DefaultFileKeyManager
BTCPAY_SERVER_PRIVATE_KEYNAME, BTCPAY_SERVER_PUBLIC_KEYNAME, btcPayServerHelper, clock, secretKey, SYMMENTRIC_FILENAMElog| 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, parseSymmetricKeyFilegetDirectory, getDirectory, getProtectPassphraseWithDefault, getProviderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProviderprotected java.lang.String getAsymTrustStorePath()
throws InternalErrorException
getAsymTrustStorePath in class DefaultFileKeyManagerInternalErrorException - if internal error occurred retrieving the trust store path.protected java.lang.String getKeyStorePath()
throws InternalErrorException
getKeyStorePath in class FileKeyManagerInternalErrorException - if internal error occurred retrieving the key store path.protected java.lang.String getProtectPassphrase()
throws InternalErrorException
getProtectPassphrase in class FileKeyManagerInternalErrorException - if internal error occurred retrieving configuration.