Class EdDSASecurityProviderRegistrar
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.util.security.AbstractSecurityProviderRegistrar
org.apache.sshd.common.util.security.eddsa.EdDSASecurityProviderRegistrar
- All Implemented Interfaces:
NamedResource,OptionalFeature,PropertyResolver,SecurityProviderChoice,SecurityProviderRegistrar
-
Field Summary
FieldsFields inherited from class org.apache.sshd.common.util.security.AbstractSecurityProviderRegistrar
props, providerHolder, supportedEntitiesFields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
logFields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTORFields inherited from interface org.apache.sshd.common.OptionalFeature
FALSE, TRUEFields inherited from interface org.apache.sshd.common.PropertyResolver
EMPTYFields inherited from interface org.apache.sshd.common.util.security.SecurityProviderChoice
EMPTYFields inherited from interface org.apache.sshd.common.util.security.SecurityProviderRegistrar
ALL_OPTIONS_VALUE, ALL_OPTIONS_WILDCARD, CONFIG_PROP_BASE, ENABLED_PROPERTY, NAMED_PROVIDER_PROPERTY, NO_OPTIONS_VALUE, SECURITY_ENTITIES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisSecurityEntitySupported(Class<?> entityType, String name) booleanMethods inherited from class org.apache.sshd.common.util.security.AbstractSecurityProviderRegistrar
createProviderInstance, getName, getOrCreateProvider, getProperties, toStringMethods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.sshd.common.PropertyResolver
getBoolean, getBooleanProperty, getCharset, getInteger, getIntProperty, getLong, getLongProperty, getObject, getString, getStringProperty, isEmptyMethods inherited from interface org.apache.sshd.common.util.security.SecurityProviderRegistrar
getBasePropertyName, getConfigurationPropertyName, getDefaultSecurityEntitySupportValue, getParentPropertyResolver, isCertificateFactorySupported, isCipherSupported, isKeyAgreementSupported, isKeyFactorySupported, isKeyPairGeneratorSupported, isMacSupported, isMessageDigestSupported, isNamedProviderUsed, isSignatureSupported
-
Field Details
-
PROVIDER_CLASS
- See Also:
-
supportHolder
-
-
Constructor Details
-
EdDSASecurityProviderRegistrar
public EdDSASecurityProviderRegistrar()
-
-
Method Details
-
isEnabled
public boolean isEnabled()- Returns:
trueif the provider is enabled regardless of whether it is supported - default=true. Note: checks if the provider has been programmatically disabled viaSecurityUtils.setAPrioriDisabledProvider(String, boolean)- See Also:
-
getSecurityProvider
- Returns:
- The security
Providerto use in caseSecurityProviderChoice.isNamedProviderUsed()isfalse. Can benullifSecurityProviderChoice.isNamedProviderUsed()istrue, but not recommended.
-
isSecurityEntitySupported
- Specified by:
isSecurityEntitySupportedin interfaceSecurityProviderRegistrar- Overrides:
isSecurityEntitySupportedin classAbstractSecurityProviderRegistrar
-
isSupported
public boolean isSupported()
-