Interface PGPKeyLoader

All Known Implementing Classes:
PGPKeyPairResourceParser

public interface PGPKeyLoader
TODO Add javadoc
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.c02e.jpgpj.Key
    loadPGPKey(InputStream input, String password)
     
    default org.c02e.jpgpj.Key
    loadPGPKey(org.apache.sshd.common.session.SessionContext session, URL url, org.apache.sshd.common.config.keys.FilePasswordProvider passwordProvider)
     
    default org.c02e.jpgpj.Key
    loadPGPKey(org.apache.sshd.common.session.SessionContext session, Path path, org.apache.sshd.common.config.keys.FilePasswordProvider passwordProvider, OpenOption... options)
     
    default org.c02e.jpgpj.Key
    loadPGPKey(org.apache.sshd.common.session.SessionContext session, org.apache.sshd.common.NamedResource resourceKey, org.apache.sshd.common.config.keys.FilePasswordProvider passwordProvider, InputStream input)
     
    default org.c02e.jpgpj.Key
    loadPGPKey(org.apache.sshd.common.session.SessionContext session, org.apache.sshd.common.util.io.resource.IoResource<?> resourceKey, org.apache.sshd.common.config.keys.FilePasswordProvider passwordProvider)
     
  • Method Details

    • loadPGPKey

      default org.c02e.jpgpj.Key loadPGPKey(org.apache.sshd.common.session.SessionContext session, URL url, org.apache.sshd.common.config.keys.FilePasswordProvider passwordProvider) throws IOException, GeneralSecurityException, org.bouncycastle.openpgp.PGPException
      Throws:
      IOException
      GeneralSecurityException
      org.bouncycastle.openpgp.PGPException
    • loadPGPKey

      default org.c02e.jpgpj.Key loadPGPKey(org.apache.sshd.common.session.SessionContext session, Path path, org.apache.sshd.common.config.keys.FilePasswordProvider passwordProvider, OpenOption... options) throws IOException, GeneralSecurityException, org.bouncycastle.openpgp.PGPException
      Throws:
      IOException
      GeneralSecurityException
      org.bouncycastle.openpgp.PGPException
    • loadPGPKey

      default org.c02e.jpgpj.Key loadPGPKey(org.apache.sshd.common.session.SessionContext session, org.apache.sshd.common.util.io.resource.IoResource<?> resourceKey, org.apache.sshd.common.config.keys.FilePasswordProvider passwordProvider) throws IOException, GeneralSecurityException, org.bouncycastle.openpgp.PGPException
      Throws:
      IOException
      GeneralSecurityException
      org.bouncycastle.openpgp.PGPException
    • loadPGPKey

      default org.c02e.jpgpj.Key loadPGPKey(org.apache.sshd.common.session.SessionContext session, org.apache.sshd.common.NamedResource resourceKey, org.apache.sshd.common.config.keys.FilePasswordProvider passwordProvider, InputStream input) throws IOException, GeneralSecurityException, org.bouncycastle.openpgp.PGPException
      Throws:
      IOException
      GeneralSecurityException
      org.bouncycastle.openpgp.PGPException
    • loadPGPKey

      static org.c02e.jpgpj.Key loadPGPKey(InputStream input, String password) throws IOException, org.bouncycastle.openpgp.PGPException
      Throws:
      IOException
      org.bouncycastle.openpgp.PGPException