Package org.pgpainless.implementation
Class ImplementationFactory
- java.lang.Object
- 
- org.pgpainless.implementation.ImplementationFactory
 
- 
- Direct Known Subclasses:
- BcImplementationFactory,- JceImplementationFactory
 
 public abstract class ImplementationFactory extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description ImplementationFactory()
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ImplementationFactorygetInstance()abstract org.bouncycastle.openpgp.operator.KeyFingerPrintCalculatorgetKeyFingerprintCalculator()abstract org.bouncycastle.openpgp.operator.PBEDataDecryptorFactorygetPBEDataDecryptorFactory(Passphrase passphrase)abstract org.bouncycastle.openpgp.operator.PBEKeyEncryptionMethodGeneratorgetPBEKeyEncryptionMethodGenerator(Passphrase passphrase)abstract org.bouncycastle.openpgp.operator.PBESecretKeyDecryptorgetPBESecretKeyDecryptor(Passphrase passphrase)abstract org.bouncycastle.openpgp.operator.PBESecretKeyEncryptorgetPBESecretKeyEncryptor(org.bouncycastle.openpgp.PGPSecretKey secretKey, Passphrase passphrase)abstract org.bouncycastle.openpgp.operator.PBESecretKeyEncryptorgetPBESecretKeyEncryptor(SymmetricKeyAlgorithm symmetricKeyAlgorithm, org.bouncycastle.openpgp.operator.PGPDigestCalculator digestCalculator, Passphrase passphrase)abstract org.bouncycastle.openpgp.operator.PBESecretKeyEncryptorgetPBESecretKeyEncryptor(SymmetricKeyAlgorithm encryptionAlgorithm, HashAlgorithm hashAlgorithm, int s2kCount, Passphrase passphrase)org.bouncycastle.openpgp.operator.PBESecretKeyEncryptorgetPBESecretKeyEncryptor(SymmetricKeyAlgorithm symmetricKeyAlgorithm, Passphrase passphrase)abstract org.bouncycastle.openpgp.operator.PGPContentSignerBuildergetPGPContentSignerBuilder(int keyAlgorithm, int hashAlgorithm)org.bouncycastle.openpgp.operator.PGPContentSignerBuildergetPGPContentSignerBuilder(PublicKeyAlgorithm keyAlgorithm, HashAlgorithm hashAlgorithm)abstract org.bouncycastle.openpgp.operator.PGPContentVerifierBuilderProvidergetPGPContentVerifierBuilderProvider()abstract org.bouncycastle.openpgp.operator.PGPDataEncryptorBuildergetPGPDataEncryptorBuilder(int symmetricKeyAlgorithm)org.bouncycastle.openpgp.operator.PGPDataEncryptorBuildergetPGPDataEncryptorBuilder(SymmetricKeyAlgorithm symmetricKeyAlgorithm)org.bouncycastle.openpgp.operator.PGPDigestCalculatorgetPGPDigestCalculator(int algorithm)org.bouncycastle.openpgp.operator.PGPDigestCalculatorgetPGPDigestCalculator(HashAlgorithm algorithm)abstract org.bouncycastle.openpgp.operator.PGPDigestCalculatorProvidergetPGPDigestCalculatorProvider()abstract org.bouncycastle.openpgp.PGPKeyPairgetPGPKeyPair(PublicKeyAlgorithm algorithm, KeyPair keyPair, Date creationDate)abstract org.bouncycastle.openpgp.PGPObjectFactorygetPGPObjectFactory(byte[] bytes)abstract org.bouncycastle.openpgp.PGPObjectFactorygetPGPObjectFactory(InputStream inputStream)abstract org.bouncycastle.openpgp.operator.PublicKeyDataDecryptorFactorygetPublicKeyDataDecryptorFactory(org.bouncycastle.openpgp.PGPPrivateKey privateKey)abstract org.bouncycastle.openpgp.operator.PublicKeyKeyEncryptionMethodGeneratorgetPublicKeyKeyEncryptionMethodGenerator(org.bouncycastle.openpgp.PGPPublicKey key)org.bouncycastle.openpgp.operator.PGPDigestCalculatorgetV4FingerprintCalculator()abstract org.bouncycastle.openpgp.operator.SessionKeyDataDecryptorFactoryprovideSessionKeyDataDecryptorFactory(org.bouncycastle.openpgp.PGPSessionKey sessionKey)static voidsetFactoryImplementation(ImplementationFactory implementation)StringtoString()
 
- 
- 
- 
Constructor Detail- 
ImplementationFactorypublic ImplementationFactory() 
 
- 
 - 
Method Detail- 
setFactoryImplementationpublic static void setFactoryImplementation(ImplementationFactory implementation) 
 - 
getInstancepublic static ImplementationFactory getInstance() 
 - 
getPBESecretKeyEncryptorpublic org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor getPBESecretKeyEncryptor(SymmetricKeyAlgorithm symmetricKeyAlgorithm, Passphrase passphrase) throws org.bouncycastle.openpgp.PGPException - Throws:
- org.bouncycastle.openpgp.PGPException
 
 - 
getPBESecretKeyEncryptorpublic abstract org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor getPBESecretKeyEncryptor(org.bouncycastle.openpgp.PGPSecretKey secretKey, Passphrase passphrase) throws org.bouncycastle.openpgp.PGPException - Throws:
- org.bouncycastle.openpgp.PGPException
 
 - 
getPBESecretKeyEncryptorpublic abstract org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor getPBESecretKeyEncryptor(SymmetricKeyAlgorithm symmetricKeyAlgorithm, org.bouncycastle.openpgp.operator.PGPDigestCalculator digestCalculator, Passphrase passphrase) 
 - 
getPBESecretKeyDecryptorpublic abstract org.bouncycastle.openpgp.operator.PBESecretKeyDecryptor getPBESecretKeyDecryptor(Passphrase passphrase) throws org.bouncycastle.openpgp.PGPException - Throws:
- org.bouncycastle.openpgp.PGPException
 
 - 
getV4FingerprintCalculatorpublic org.bouncycastle.openpgp.operator.PGPDigestCalculator getV4FingerprintCalculator() throws org.bouncycastle.openpgp.PGPException - Throws:
- org.bouncycastle.openpgp.PGPException
 
 - 
getPGPDigestCalculatorpublic org.bouncycastle.openpgp.operator.PGPDigestCalculator getPGPDigestCalculator(HashAlgorithm algorithm) throws org.bouncycastle.openpgp.PGPException - Throws:
- org.bouncycastle.openpgp.PGPException
 
 - 
getPGPDigestCalculatorpublic org.bouncycastle.openpgp.operator.PGPDigestCalculator getPGPDigestCalculator(int algorithm) throws org.bouncycastle.openpgp.PGPException - Throws:
- org.bouncycastle.openpgp.PGPException
 
 - 
getPGPDigestCalculatorProviderpublic abstract org.bouncycastle.openpgp.operator.PGPDigestCalculatorProvider getPGPDigestCalculatorProvider() throws org.bouncycastle.openpgp.PGPException - Throws:
- org.bouncycastle.openpgp.PGPException
 
 - 
getPGPContentVerifierBuilderProviderpublic abstract org.bouncycastle.openpgp.operator.PGPContentVerifierBuilderProvider getPGPContentVerifierBuilderProvider() 
 - 
getPGPContentSignerBuilderpublic org.bouncycastle.openpgp.operator.PGPContentSignerBuilder getPGPContentSignerBuilder(PublicKeyAlgorithm keyAlgorithm, HashAlgorithm hashAlgorithm) 
 - 
getPGPContentSignerBuilderpublic abstract org.bouncycastle.openpgp.operator.PGPContentSignerBuilder getPGPContentSignerBuilder(int keyAlgorithm, int hashAlgorithm) 
 - 
getKeyFingerprintCalculatorpublic abstract org.bouncycastle.openpgp.operator.KeyFingerPrintCalculator getKeyFingerprintCalculator() 
 - 
getPBEDataDecryptorFactorypublic abstract org.bouncycastle.openpgp.operator.PBEDataDecryptorFactory getPBEDataDecryptorFactory(Passphrase passphrase) throws org.bouncycastle.openpgp.PGPException - Throws:
- org.bouncycastle.openpgp.PGPException
 
 - 
getPublicKeyDataDecryptorFactorypublic abstract org.bouncycastle.openpgp.operator.PublicKeyDataDecryptorFactory getPublicKeyDataDecryptorFactory(org.bouncycastle.openpgp.PGPPrivateKey privateKey) 
 - 
getPublicKeyKeyEncryptionMethodGeneratorpublic abstract org.bouncycastle.openpgp.operator.PublicKeyKeyEncryptionMethodGenerator getPublicKeyKeyEncryptionMethodGenerator(org.bouncycastle.openpgp.PGPPublicKey key) 
 - 
getPBEKeyEncryptionMethodGeneratorpublic abstract org.bouncycastle.openpgp.operator.PBEKeyEncryptionMethodGenerator getPBEKeyEncryptionMethodGenerator(Passphrase passphrase) 
 - 
getPGPDataEncryptorBuilderpublic org.bouncycastle.openpgp.operator.PGPDataEncryptorBuilder getPGPDataEncryptorBuilder(SymmetricKeyAlgorithm symmetricKeyAlgorithm) 
 - 
getPGPDataEncryptorBuilderpublic abstract org.bouncycastle.openpgp.operator.PGPDataEncryptorBuilder getPGPDataEncryptorBuilder(int symmetricKeyAlgorithm) 
 - 
getPGPKeyPairpublic abstract org.bouncycastle.openpgp.PGPKeyPair getPGPKeyPair(PublicKeyAlgorithm algorithm, KeyPair keyPair, Date creationDate) throws org.bouncycastle.openpgp.PGPException - Throws:
- org.bouncycastle.openpgp.PGPException
 
 - 
getPBESecretKeyEncryptorpublic abstract org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor getPBESecretKeyEncryptor(SymmetricKeyAlgorithm encryptionAlgorithm, HashAlgorithm hashAlgorithm, int s2kCount, Passphrase passphrase) throws org.bouncycastle.openpgp.PGPException - Throws:
- org.bouncycastle.openpgp.PGPException
 
 - 
provideSessionKeyDataDecryptorFactorypublic abstract org.bouncycastle.openpgp.operator.SessionKeyDataDecryptorFactory provideSessionKeyDataDecryptorFactory(org.bouncycastle.openpgp.PGPSessionKey sessionKey) 
 - 
getPGPObjectFactorypublic abstract org.bouncycastle.openpgp.PGPObjectFactory getPGPObjectFactory(InputStream inputStream) 
 - 
getPGPObjectFactorypublic abstract org.bouncycastle.openpgp.PGPObjectFactory getPGPObjectFactory(byte[] bytes) 
 
- 
 
-