Class StringKeyPairProvider

java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.keyprovider.AbstractKeyPairProvider
org.apache.sshd.common.keyprovider.AbstractResourceKeyPairProvider<String>
com.atlassian.bamboo.crypto.StringKeyPairProvider
All Implemented Interfaces:
org.apache.sshd.common.keyprovider.KeyIdentityProvider, org.apache.sshd.common.keyprovider.KeyPairProvider

public class StringKeyPairProvider extends org.apache.sshd.common.keyprovider.AbstractResourceKeyPairProvider<String>
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.sshd.common.keyprovider.AbstractResourceKeyPairProvider

    org.apache.sshd.common.keyprovider.AbstractResourceKeyPairProvider.KeyPairIterator
  • Field Summary

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

    log

    Fields inherited from interface org.apache.sshd.common.keyprovider.KeyIdentityProvider

    EMPTY_KEYS_PROVIDER

    Fields inherited from interface org.apache.sshd.common.keyprovider.KeyPairProvider

    ECDSA_SHA2_NISTP256, ECDSA_SHA2_NISTP384, ECDSA_SHA2_NISTP521, EMPTY_KEYPAIR_PROVIDER, SSH_DSS, SSH_DSS_CERT, SSH_ECDSA_SHA2_NISTP256_CERT, SSH_ECDSA_SHA2_NISTP384_CERT, SSH_ECDSA_SHA2_NISTP521_CERT, SSH_ED25519, SSH_ED25519_CERT, SSH_RSA, SSH_RSA_CERT
  • Constructor Summary

    Constructors
    Constructor
    Description
    StringKeyPairProvider(@NotNull String privateKeyString)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.sshd.common.util.io.resource.IoResource<String>
    getIoResource(org.apache.sshd.common.session.SessionContext session, String resource)
     
    loadKeys(org.apache.sshd.common.session.SessionContext session)
     

    Methods inherited from class org.apache.sshd.common.keyprovider.AbstractResourceKeyPairProvider

    doLoadKeys, doLoadKeys, doLoadKeys, getPasswordFinder, loadKeys, openKeyPairResource, resetCacheMap, setPasswordFinder

    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, toString, wait, wait, wait

    Methods inherited from interface org.apache.sshd.common.keyprovider.KeyPairProvider

    getKeyTypes, loadKey
  • Constructor Details

    • StringKeyPairProvider

      public StringKeyPairProvider(@NotNull @NotNull String privateKeyString)
  • Method Details

    • loadKeys

      public Iterable<KeyPair> loadKeys(org.apache.sshd.common.session.SessionContext session)
    • getIoResource

      protected org.apache.sshd.common.util.io.resource.IoResource<String> getIoResource(org.apache.sshd.common.session.SessionContext session, String resource)
      Overrides:
      getIoResource in class org.apache.sshd.common.keyprovider.AbstractResourceKeyPairProvider<String>