Package org.jumpmind.security
Class AzureKeyVaultSecurityService
java.lang.Object
org.jumpmind.security.SecurityService
org.jumpmind.security.BouncyCastleSecurityService
org.jumpmind.security.AzureKeyVaultSecurityService
- All Implemented Interfaces:
ISecurityService
public class AzureKeyVaultSecurityService
extends BouncyCastleSecurityService
implements ISecurityService
-
Field Summary
Fields inherited from class org.jumpmind.security.SecurityService
hasInitKeyStore, keyStoreFileName, keyStoreURL, log, secretKey, trustStoreFileName, trustStoreURL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoiddeleteKeystoreEntry(String alias) exportCurrentSslCert(boolean includePrivateKey) getKeystoreEntry(String alias) protected voidvoidinstallDefaultSslCert(String host) voidprotected voidsaveKeyStore(KeyStore ks, String password) voidsetKeystoreEntry(String alias, String value) voidsetKeystoreEntry(String alias, Key key) booleanbooleanbooleanbooleanMethods inherited from class org.jumpmind.security.BouncyCastleSecurityService
createDefaultSslCert, createSslCert, createSslCert, createTrustedCert, exportTrustedCert, generateRSAKeyPair, generateV1Certificate, installDefaultSamlSslCert, readPemBytesMethods inherited from class org.jumpmind.security.SecurityService
decrypt, encrypt, getBytes, getCipher, getDefaultSecretKey, getKeyManagerFactory, getKeyManagerFactoryAlgorithm, getKeyStorePassword, getKeyStoreType, getTrustStore, getTrustStorePassword, init, initializeCipher, installTrustedCert, nextSecureHexString, obfuscate, saveTrustStore, unobfuscate, unobfuscateIfNeededMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jumpmind.security.ISecurityService
createDefaultSslCert, createSslCert, createTrustedCert, decrypt, encrypt, exportTrustedCert, getCipher, getKeyManagerFactory, getTrustStore, init, installDefaultSamlSslCert, installTrustedCert, nextSecureHexString, obfuscate, saveTrustStore, unobfuscate, unobfuscateIfNeeded
-
Constructor Details
-
AzureKeyVaultSecurityService
protected AzureKeyVaultSecurityService()
-
-
Method Details
-
supportsExportCertificate
public boolean supportsExportCertificate()- Specified by:
supportsExportCertificatein interfaceISecurityService- Overrides:
supportsExportCertificatein classBouncyCastleSecurityService
-
supportsImportCertificate
public boolean supportsImportCertificate()- Specified by:
supportsImportCertificatein interfaceISecurityService- Overrides:
supportsImportCertificatein classBouncyCastleSecurityService
-
supportsBackupCertificate
public boolean supportsBackupCertificate()- Specified by:
supportsBackupCertificatein interfaceISecurityService- Overrides:
supportsBackupCertificatein classBouncyCastleSecurityService
-
supportsGenerateSelfSignedCertificate
public boolean supportsGenerateSelfSignedCertificate()- Specified by:
supportsGenerateSelfSignedCertificatein interfaceISecurityService- Overrides:
supportsGenerateSelfSignedCertificatein classBouncyCastleSecurityService
-
getKeyStore
- Specified by:
getKeyStorein interfaceISecurityService- Overrides:
getKeyStorein classSecurityService
-
saveKeyStore
- Overrides:
saveKeyStorein classSecurityService- Throws:
Exception
-
getKeystoreEntry
- Specified by:
getKeystoreEntryin interfaceISecurityService- Overrides:
getKeystoreEntryin classSecurityService- Throws:
Exception
-
setKeystoreEntry
- Specified by:
setKeystoreEntryin interfaceISecurityService- Overrides:
setKeystoreEntryin classSecurityService- Throws:
Exception
-
setKeystoreEntry
- Throws:
Exception
-
deleteKeystoreEntry
- Specified by:
deleteKeystoreEntryin interfaceISecurityService- Overrides:
deleteKeystoreEntryin classSecurityService
-
installDefaultSslCert
- Specified by:
installDefaultSslCertin interfaceISecurityService- Overrides:
installDefaultSslCertin classBouncyCastleSecurityService
-
installSslCert
- Specified by:
installSslCertin interfaceISecurityService- Overrides:
installSslCertin classBouncyCastleSecurityService
-
getCurrentSslCert
- Specified by:
getCurrentSslCertin interfaceISecurityService- Overrides:
getCurrentSslCertin classBouncyCastleSecurityService
-
exportCurrentSslCert
- Specified by:
exportCurrentSslCertin interfaceISecurityService- Overrides:
exportCurrentSslCertin classBouncyCastleSecurityService
-
checkThatKeystoreFileExists
protected void checkThatKeystoreFileExists() throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException- Overrides:
checkThatKeystoreFileExistsin classSecurityService- Throws:
KeyStoreExceptionNoSuchAlgorithmExceptionCertificateExceptionIOException
-
initializeSecretKey
protected void initializeSecretKey()- Overrides:
initializeSecretKeyin classSecurityService
-