@Transactional public class DatabaseKeyStore extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CLUSTER_LOCK_NAME |
static String |
KEY_STORE_PROPERTY_PREFIX |
static String |
PRIVATE_KEY_PROPERTY |
static String |
PUBLIC_KEY_PROPERTY |
Constructor and Description |
---|
DatabaseKeyStore(PluginPropertyManager pluginPropertyManager,
KeyDecoderEncoder keyDecoderEncoder,
com.atlassian.beehive.ClusterLockService lockService,
Integer keySize,
KeyFactory keyFactory,
KeyPairGenerator keyPairGenerator) |
Modifier and Type | Method and Description |
---|---|
void |
deleteKeys() |
void |
generateKeys() |
Optional<KeyPair> |
getKeys() |
void |
storeKeys(KeyPair keyPair) |
public static final String CLUSTER_LOCK_NAME
public static final String KEY_STORE_PROPERTY_PREFIX
public static final String PRIVATE_KEY_PROPERTY
public static final String PUBLIC_KEY_PROPERTY
public DatabaseKeyStore(PluginPropertyManager pluginPropertyManager, KeyDecoderEncoder keyDecoderEncoder, com.atlassian.beehive.ClusterLockService lockService, Integer keySize, KeyFactory keyFactory, KeyPairGenerator keyPairGenerator)
public void generateKeys() throws SAMLException
SAMLException
public void storeKeys(KeyPair keyPair)
public void deleteKeys()
Copyright © 2021 Atlassian. All rights reserved.