# Deprecated API

## Contents

- Deprecated Methods
- Deprecated Constructors

Deprecated Methods
Method and Description
org.bouncycastle.openpgp.PGPEncryptedDataList.getEncyptedDataObjects() misspelt - use getEncryptedDataObjects()
org.bouncycastle.bcpg.sig.PreferredAlgorithms.getPreferrences() mispelt!

Deprecated Constructors
Constructor and Description
org.bouncycastle.openpgp.PGPKeyPair(int, KeyPair, Date, String) use version without provider.
org.bouncycastle.openpgp.PGPKeyPair(int, PublicKey, PrivateKey, Date, String) use version without provider.