public class DefaultCipherProvider extends Object implements CipherProvider
ATLASSIAN_PASSWORD_CIPHER_PROVIDER_XML_KEY| Constructor and Description |
|---|
DefaultCipherProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultCipherProviderClassName() |
Optional<Cipher> |
getInstance(String cipherProviderClassName)
Uses reflection to obtain an instance of the
Cipher implementation. |
public String getDefaultCipherProviderClassName()
getDefaultCipherProviderClassName in interface CipherProviderBase64Cipherpublic Optional<Cipher> getInstance(String cipherProviderClassName)
Cipher implementation.getInstance in interface CipherProvidercipherProviderClassName - canonical name of the Class which implements Cipher and should be initiated.Cipher packed inside Optional or Optional.empty() in case passed param is null or empty.IllegalArgumentException - in case of ClassNotFoundException, InstantiationException or IllegalAccessExceptionCopyright © 2019 Atlassian. All rights reserved.