Package org.bouncycastle.openpgp.jcajce

## Class JcaPGPSecretKeyRing

- java.lang.Object
- - org.bouncycastle.openpgp.PGPKeyRing
  - - org.bouncycastle.openpgp.PGPSecretKeyRing
    - - org.bouncycastle.openpgp.jcajce.JcaPGPSecretKeyRing

- All Implemented Interfaces:
    `java.lang.Iterable<PGPSecretKey>`, `org.bouncycastle.util.Iterable<PGPSecretKey>`

      public class JcaPGPSecretKeyRing
      extends PGPSecretKeyRing

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `JcaPGPSecretKeyRing​(byte[] encoding)` |
    `JcaPGPSecretKeyRing​(java.io.InputStream in)` |

  - ### Method Summary

    - ### Methods inherited from class org.bouncycastle.openpgp.PGPSecretKeyRing

      `copyWithNewPassword, encode, getEncoded, getExtraPublicKeys, getKeysWithSignaturesBy, getPublicKey, getPublicKey, getPublicKey, getPublicKeys, getSecretKey, getSecretKey, getSecretKey, getSecretKeys, insertSecretKey, iterator, removeSecretKey, replacePublicKeys`

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

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

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, spliterator`

- - ### Constructor Detail

    - #### JcaPGPSecretKeyRing

          public JcaPGPSecretKeyRing​(byte[] encoding)
                              throws java.io.IOException,
                                     PGPException

      Throws:
        `java.io.IOException`
        `PGPException`

    - #### JcaPGPSecretKeyRing

          public JcaPGPSecretKeyRing​(java.io.InputStream in)
                              throws java.io.IOException,
                                     PGPException

      Throws:
        `java.io.IOException`
        `PGPException`