public class AutoGeneratedSelfSignedKeyStoreImpl extends AbstractConfiguredObject<AutoGeneratedSelfSignedKeyStoreImpl> implements AutoGeneratedSelfSignedKeyStore<AutoGeneratedSelfSignedKeyStoreImpl>
AbstractConfiguredObject.CallableWithArgument<V,A>, AbstractConfiguredObject.ChainedListenableFuture<V>, AbstractConfiguredObject.ChainedSettableFuture<V>, AbstractConfiguredObject.DuplicateIdException, AbstractConfiguredObject.DuplicateNameException
SECURED_STRING_VALUE
ENCODED_CERTIFICATE, ENCODED_PRIVATE_KEY
CONTEXT, CREATED_BY, CREATED_TIME, DESCRIPTION, DESIRED_STATE, DURABLE, ID, LAST_UPDATED_BY, LAST_UPDATED_TIME, LIFETIME_POLICY, NAME, OVER_SIZED_ATTRIBUTE_ALTERNATIVE_TEXT, STATE, TYPE
Constructor and Description |
---|
AutoGeneratedSelfSignedKeyStoreImpl(Map<String,Object> attributes,
Broker<?> broker) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.util.concurrent.ListenableFuture<Void> |
activate() |
protected com.google.common.util.concurrent.ListenableFuture<Void> |
doDelete() |
Content |
getCertificate() |
Content |
getClientTrustStore(String password) |
int |
getDurationInMonths() |
String |
getEncodedCertificate() |
String |
getEncodedPrivateKey() |
String |
getKeyAlgorithm() |
int |
getKeyLength() |
KeyManager[] |
getKeyManagers() |
String |
getSignatureAlgorithm() |
protected void |
onCreate() |
protected void |
postResolve() |
void |
regenerateCertificate() |
addChangeListener, addChildAsync, applyToChildren, asObjectRecord, attainState, attributeSet, authoriseCreate, authoriseCreateChild, authoriseDelete, authoriseSetAttributes, beforeClose, changeAttribute, changeAttributes, childAdded, childRemoved, close, closeAsync, closeChildren, create, createAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, deleted, doAfter, doAfter, doAfter, doAfter, doAfter, doAfter, doAfterAlways, doAfterAlways, doCreation, doOnConfigThread, doOpening, doResolution, doSync, doSync, doValidation, findConfiguredObject, forceUpdateAllSecureAttributes, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getSecurityManager, getState, getStatistics, getTaskExecutor, getType, getTypeClass, handleExceptionOnOpen, isDurable, managesChildStorage, notifyStateChanged, onClose, onExceptionInOpen, onOpen, onResolve, onValidate, open, openAsync, parentsMap, postResolveChildren, registerWithParents, removeChangeListener, rethrowRuntimeExceptionsOnOpen, runTask, setAttribute, setAttributes, setAttributesAsync, setEncrypter, setState, start, startAsync, stop, toString, validateChange, validateOnCreate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addChangeListener, asObjectRecord, close, closeAsync, createChild, createChildAsync, decryptSecrets, delete, deleteAsync, findConfiguredObject, getActualAttributes, getAttainedChildById, getAttainedChildByName, getAttribute, getAttributeNames, getCategoryClass, getChildById, getChildByName, getChildExecutor, getChildren, getContext, getContextKeys, getContextValue, getContextValue, getCreatedBy, getCreatedTime, getDescription, getDesiredState, getId, getLastOpenedTime, getLastUpdatedBy, getLastUpdatedTime, getLifetimePolicy, getModel, getName, getObjectFactory, getParent, getState, getStatistics, getTaskExecutor, getType, getTypeClass, isDurable, managesChildStorage, open, openAsync, removeChangeListener, setAttribute, setAttributes, setAttributesAsync
public KeyManager[] getKeyManagers() throws GeneralSecurityException
getKeyManagers
in interface KeyStore<AutoGeneratedSelfSignedKeyStoreImpl>
GeneralSecurityException
public String getKeyAlgorithm()
getKeyAlgorithm
in interface AutoGeneratedSelfSignedKeyStore<AutoGeneratedSelfSignedKeyStoreImpl>
public String getSignatureAlgorithm()
getSignatureAlgorithm
in interface AutoGeneratedSelfSignedKeyStore<AutoGeneratedSelfSignedKeyStoreImpl>
public int getKeyLength()
getKeyLength
in interface AutoGeneratedSelfSignedKeyStore<AutoGeneratedSelfSignedKeyStoreImpl>
public int getDurationInMonths()
getDurationInMonths
in interface AutoGeneratedSelfSignedKeyStore<AutoGeneratedSelfSignedKeyStoreImpl>
public String getEncodedCertificate()
getEncodedCertificate
in interface AutoGeneratedSelfSignedKeyStore<AutoGeneratedSelfSignedKeyStoreImpl>
public String getEncodedPrivateKey()
getEncodedPrivateKey
in interface AutoGeneratedSelfSignedKeyStore<AutoGeneratedSelfSignedKeyStoreImpl>
protected void postResolve()
postResolve
in class AbstractConfiguredObject<AutoGeneratedSelfSignedKeyStoreImpl>
protected void onCreate()
onCreate
in class AbstractConfiguredObject<AutoGeneratedSelfSignedKeyStoreImpl>
protected com.google.common.util.concurrent.ListenableFuture<Void> activate()
protected com.google.common.util.concurrent.ListenableFuture<Void> doDelete()
public void regenerateCertificate()
regenerateCertificate
in interface AutoGeneratedSelfSignedKeyStore<AutoGeneratedSelfSignedKeyStoreImpl>
public Content getClientTrustStore(String password)
getClientTrustStore
in interface AutoGeneratedSelfSignedKeyStore<AutoGeneratedSelfSignedKeyStoreImpl>
public Content getCertificate()
getCertificate
in interface AutoGeneratedSelfSignedKeyStore<AutoGeneratedSelfSignedKeyStoreImpl>
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.