Class AndroidOpenSSLSecurityProviderRegistrar

java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.util.security.AbstractSecurityProviderRegistrar
org.apache.sshd.contrib.common.util.security.androidopenssl.AndroidOpenSSLSecurityProviderRegistrar
All Implemented Interfaces:
org.apache.sshd.common.NamedResource, org.apache.sshd.common.OptionalFeature, org.apache.sshd.common.PropertyResolver, org.apache.sshd.common.util.security.SecurityProviderChoice, org.apache.sshd.common.util.security.SecurityProviderRegistrar

public class AndroidOpenSSLSecurityProviderRegistrar extends org.apache.sshd.common.util.security.AbstractSecurityProviderRegistrar
On Android 9, one cannot use the built in Bouncy Castle security provider because Android blocks attempts to use Bouncy Castle for operations that AndroidOpenSSL supports.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class org.apache.sshd.common.util.security.AbstractSecurityProviderRegistrar

    props, providerHolder, supportedEntities

    Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean

    log

    Fields inherited from interface org.apache.sshd.common.NamedResource

    BY_NAME_COMPARATOR, NAME_EXTRACTOR

    Fields inherited from interface org.apache.sshd.common.OptionalFeature

    FALSE, TRUE

    Fields inherited from interface org.apache.sshd.common.PropertyResolver

    EMPTY

    Fields inherited from interface org.apache.sshd.common.util.security.SecurityProviderChoice

    EMPTY

    Fields 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    boolean
     

    Methods inherited from class org.apache.sshd.common.util.security.AbstractSecurityProviderRegistrar

    createProviderInstance, getName, getOrCreateProvider, getProperties, isSecurityEntitySupported, toString

    Methods 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, warn

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.sshd.common.PropertyResolver

    getBoolean, getBooleanProperty, getCharset, getInteger, getIntProperty, getLong, getLongProperty, getObject, getString, getStringProperty, isEmpty

    Methods inherited from interface org.apache.sshd.common.util.security.SecurityProviderChoice

    getProviderName

    Methods inherited from interface org.apache.sshd.common.util.security.SecurityProviderRegistrar

    getBasePropertyName, getConfigurationPropertyName, getParentPropertyResolver, isCertificateFactorySupported, isCipherSupported, isEnabled, isKeyAgreementSupported, isKeyFactorySupported, isKeyPairGeneratorSupported, isMacSupported, isMessageDigestSupported, isNamedProviderUsed, isSignatureSupported
  • Field Details

  • Constructor Details

    • AndroidOpenSSLSecurityProviderRegistrar

      public AndroidOpenSSLSecurityProviderRegistrar()
  • Method Details

    • isSupported

      public boolean isSupported()
    • getDefaultSecurityEntitySupportValue

      public String getDefaultSecurityEntitySupportValue(Class<?> entityType)
    • getSecurityProvider

      public Provider getSecurityProvider()