Package org.pgpainless.key.parsing
Class KeyRingReader
- java.lang.Object
-
- org.pgpainless.key.parsing.KeyRingReader
-
public class KeyRingReader extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.nio.charset.CharsetUTF8
-
Constructor Summary
Constructors Constructor Description KeyRingReader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.openpgp.PGPPublicKeyRingpublicKeyRing(byte[] bytes)org.bouncycastle.openpgp.PGPPublicKeyRingpublicKeyRing(java.io.InputStream inputStream)org.bouncycastle.openpgp.PGPPublicKeyRingpublicKeyRing(java.lang.String asciiArmored)org.bouncycastle.openpgp.PGPPublicKeyRingCollectionpublicKeyRingCollection(byte[] bytes)org.bouncycastle.openpgp.PGPPublicKeyRingCollectionpublicKeyRingCollection(java.io.InputStream inputStream)org.bouncycastle.openpgp.PGPPublicKeyRingCollectionpublicKeyRingCollection(java.lang.String asciiArmored)static org.bouncycastle.openpgp.PGPPublicKeyRingreadPublicKeyRing(java.io.InputStream inputStream)static org.bouncycastle.openpgp.PGPPublicKeyRingCollectionreadPublicKeyRingCollection(java.io.InputStream inputStream)static org.bouncycastle.openpgp.PGPSecretKeyRingreadSecretKeyRing(java.io.InputStream inputStream)static org.bouncycastle.openpgp.PGPSecretKeyRingCollectionreadSecretKeyRingCollection(java.io.InputStream inputStream)org.bouncycastle.openpgp.PGPSecretKeyRingsecretKeyRing(byte[] bytes)org.bouncycastle.openpgp.PGPSecretKeyRingsecretKeyRing(java.io.InputStream inputStream)org.bouncycastle.openpgp.PGPSecretKeyRingsecretKeyRing(java.lang.String asciiArmored)org.bouncycastle.openpgp.PGPSecretKeyRingCollectionsecretKeyRingCollection(byte[] bytes)org.bouncycastle.openpgp.PGPSecretKeyRingCollectionsecretKeyRingCollection(java.io.InputStream inputStream)org.bouncycastle.openpgp.PGPSecretKeyRingCollectionsecretKeyRingCollection(java.lang.String asciiArmored)
-
-
-
Method Detail
-
publicKeyRing
@Nonnull public org.bouncycastle.openpgp.PGPPublicKeyRing publicKeyRing(@Nonnull java.io.InputStream inputStream) throws java.io.IOException- Throws:
java.io.IOException
-
publicKeyRing
public org.bouncycastle.openpgp.PGPPublicKeyRing publicKeyRing(@Nonnull byte[] bytes) throws java.io.IOException- Throws:
java.io.IOException
-
publicKeyRing
public org.bouncycastle.openpgp.PGPPublicKeyRing publicKeyRing(@Nonnull java.lang.String asciiArmored) throws java.io.IOException- Throws:
java.io.IOException
-
publicKeyRingCollection
public org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeyRingCollection(@Nonnull java.io.InputStream inputStream) throws java.io.IOException, org.bouncycastle.openpgp.PGPException- Throws:
java.io.IOExceptionorg.bouncycastle.openpgp.PGPException
-
publicKeyRingCollection
public org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeyRingCollection(@Nonnull byte[] bytes) throws java.io.IOException, org.bouncycastle.openpgp.PGPException- Throws:
java.io.IOExceptionorg.bouncycastle.openpgp.PGPException
-
publicKeyRingCollection
public org.bouncycastle.openpgp.PGPPublicKeyRingCollection publicKeyRingCollection(@Nonnull java.lang.String asciiArmored) throws java.io.IOException, org.bouncycastle.openpgp.PGPException- Throws:
java.io.IOExceptionorg.bouncycastle.openpgp.PGPException
-
secretKeyRing
public org.bouncycastle.openpgp.PGPSecretKeyRing secretKeyRing(@Nonnull java.io.InputStream inputStream) throws java.io.IOException, org.bouncycastle.openpgp.PGPException- Throws:
java.io.IOExceptionorg.bouncycastle.openpgp.PGPException
-
secretKeyRing
public org.bouncycastle.openpgp.PGPSecretKeyRing secretKeyRing(@Nonnull byte[] bytes) throws java.io.IOException, org.bouncycastle.openpgp.PGPException- Throws:
java.io.IOExceptionorg.bouncycastle.openpgp.PGPException
-
secretKeyRing
public org.bouncycastle.openpgp.PGPSecretKeyRing secretKeyRing(@Nonnull java.lang.String asciiArmored) throws java.io.IOException, org.bouncycastle.openpgp.PGPException- Throws:
java.io.IOExceptionorg.bouncycastle.openpgp.PGPException
-
secretKeyRingCollection
public org.bouncycastle.openpgp.PGPSecretKeyRingCollection secretKeyRingCollection(@Nonnull java.io.InputStream inputStream) throws java.io.IOException, org.bouncycastle.openpgp.PGPException- Throws:
java.io.IOExceptionorg.bouncycastle.openpgp.PGPException
-
secretKeyRingCollection
public org.bouncycastle.openpgp.PGPSecretKeyRingCollection secretKeyRingCollection(@Nonnull byte[] bytes) throws java.io.IOException, org.bouncycastle.openpgp.PGPException- Throws:
java.io.IOExceptionorg.bouncycastle.openpgp.PGPException
-
secretKeyRingCollection
public org.bouncycastle.openpgp.PGPSecretKeyRingCollection secretKeyRingCollection(@Nonnull java.lang.String asciiArmored) throws java.io.IOException, org.bouncycastle.openpgp.PGPException- Throws:
java.io.IOExceptionorg.bouncycastle.openpgp.PGPException
-
readPublicKeyRing
public static org.bouncycastle.openpgp.PGPPublicKeyRing readPublicKeyRing(@Nonnull java.io.InputStream inputStream) throws java.io.IOException- Throws:
java.io.IOException
-
readPublicKeyRingCollection
public static org.bouncycastle.openpgp.PGPPublicKeyRingCollection readPublicKeyRingCollection(@Nonnull java.io.InputStream inputStream) throws java.io.IOException, org.bouncycastle.openpgp.PGPException- Throws:
java.io.IOExceptionorg.bouncycastle.openpgp.PGPException
-
readSecretKeyRing
public static org.bouncycastle.openpgp.PGPSecretKeyRing readSecretKeyRing(@Nonnull java.io.InputStream inputStream) throws java.io.IOException, org.bouncycastle.openpgp.PGPException- Throws:
java.io.IOExceptionorg.bouncycastle.openpgp.PGPException
-
readSecretKeyRingCollection
public static org.bouncycastle.openpgp.PGPSecretKeyRingCollection readSecretKeyRingCollection(@Nonnull java.io.InputStream inputStream) throws java.io.IOException, org.bouncycastle.openpgp.PGPException- Throws:
java.io.IOExceptionorg.bouncycastle.openpgp.PGPException
-
-