public class BouncyCastleSecurityProviderRegistrar extends AbstractSecurityProviderRegistrar
| Modifier and Type | Field and Description |
|---|---|
static String |
PROVIDER_CLASS |
props, providerHolder, supportedEntitieslogALL_OPTIONS_VALUE, ALL_OPTIONS_WILDCARD, CONFIG_PROP_BASE, ENABLED_PROPERTY, NAMED_PROVIDER_PROPERTY, NO_OPTIONS_VALUE, SECURITY_ENTITIESEMPTYBY_NAME_COMPARATOR, NAME_EXTRACTORFALSE, TRUEEMPTY| Constructor and Description |
|---|
BouncyCastleSecurityProviderRegistrar() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultSecurityEntitySupportValue(Class<?> entityType) |
Provider |
getSecurityProvider() |
boolean |
isEnabled() |
boolean |
isSecurityEntitySupported(Class<?> entityType,
String name) |
boolean |
isSupported() |
createProviderInstance, getName, getOrCreateProvider, getProperties, toStringdebug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warnclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindSecurityProviderRegistrarBySecurityEntity, getBasePropertyName, getConfigurationPropertyName, getEffectiveSecurityEntityName, getParentPropertyResolver, isAllOptionsValue, isCertificateFactorySupported, isCipherSupported, isKeyAgreementSupported, isKeyFactorySupported, isKeyPairGeneratorSupported, isMacSupported, isMessageDigestSupported, isNamedProviderUsed, isSecurityEntitySupported, isSecurityEntitySupported, isSignatureSupported, registerSecurityProvidercreateProviderInstance, toSecurityProviderChoice, toSecurityProviderChoicefindByName, findFirstMatchByName, getNameList, getNames, ofName, removeByName, safeCompareByNameall, any, ofgetBoolean, getBooleanProperty, getCharset, getInteger, getIntProperty, getLong, getLongProperty, getObject, getString, getStringProperty, isEmpty, isEmptypublic static final String PROVIDER_CLASS
public BouncyCastleSecurityProviderRegistrar()
public boolean isEnabled()
true if the provider is enabled regardless of whether it is supported - default=true.
Note: checks if the provider has been programmatically disabled via
SecurityUtils.setAPrioriDisabledProvider(String, boolean)SecurityProviderRegistrar.ENABLED_PROPERTYpublic Provider getSecurityProvider()
Provider to use in case SecurityProviderChoice.isNamedProviderUsed() is false. Can be
null if SecurityProviderChoice.isNamedProviderUsed() is true, but not recommended.public String getDefaultSecurityEntitySupportValue(Class<?> entityType)
entityType - The requested entity type - its simple name serves to build the configuration property name.SecurityProviderRegistrar.isSecurityEntitySupported(Class, String)public boolean isSecurityEntitySupported(Class<?> entityType, String name)
isSecurityEntitySupported in interface SecurityProviderRegistrarisSecurityEntitySupported in class AbstractSecurityProviderRegistrarpublic boolean isSupported()
Copyright © 2018–2024 The Apache Software Foundation. All rights reserved.