com.jscape.inet.vfs

## Class PgpEncryption

- java.lang.Object
- - com.jscape.inet.vfs.PgpEncryption

-     public class PgpEncryption
      extends java.lang.Object

  Contains information about possible PGP encryption for a virtual path.
  Author:
    Alex Usun

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PgpEncryption()`
    `PgpEncryption(com.jscape.inet.vfs.KeyProvider keyProvider, boolean enabled)` Creates a new instance.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.jscape.inet.vfs.KeyProvider` | `getKeyProvider()`
    `boolean` | `isEnabled()`
    `void` | `setEnabled(boolean value)`
    `void` | `setKeyProvider(com.jscape.inet.vfs.KeyProvider value)`
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### PgpEncryption

          public PgpEncryption(com.jscape.inet.vfs.KeyProvider keyProvider,
                               boolean enabled)

      Creates a new instance.
      Parameters:
        `keyProvider` - a key provider
        `enabled` - if `true` encryption will be enabled

    - #### PgpEncryption

          public PgpEncryption()

  - ### Method Detail

    - #### getKeyProvider

          public com.jscape.inet.vfs.KeyProvider getKeyProvider()

    - #### setKeyProvider

          public void setKeyProvider(com.jscape.inet.vfs.KeyProvider value)

    - #### isEnabled

          public boolean isEnabled()

    - #### setEnabled

          public void setEnabled(boolean value)

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

Copyright © JSCAPE LLC. 1999-2019. All Rights Reserved