mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-17 18:02:05 +01:00
Remove deprecated ArmorUtils.createArmoredOutputStream()
This commit is contained in:
parent
054828ef8c
commit
7faa6c580a
1 changed files with 0 additions and 22 deletions
|
@ -267,28 +267,6 @@ public final class ArmorUtils {
|
|||
return armoredOutputStream;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return an {@link ArmoredOutputStream} prepared with headers for the given key ring, which wraps the given
|
||||
* {@link OutputStream}.
|
||||
*
|
||||
* The armored output stream can be used to encode the key ring by calling {@link PGPKeyRing#encode(OutputStream)}
|
||||
* with the armored output stream as an argument.
|
||||
*
|
||||
* @param keyRing key ring
|
||||
* @param outputStream wrapped output stream
|
||||
* @return armored output stream
|
||||
*
|
||||
* @deprecated use {@link #toAsciiArmoredStream(PGPKeyRing, OutputStream)} instead
|
||||
*
|
||||
* TODO: Remove in 1.2.X
|
||||
*/
|
||||
@Deprecated
|
||||
@Nonnull
|
||||
public static ArmoredOutputStream createArmoredOutputStreamFor(@Nonnull PGPKeyRing keyRing,
|
||||
@Nonnull OutputStream outputStream) {
|
||||
return toAsciiArmoredStream(keyRing, outputStream);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate a header map for ASCII armor from the given {@link PGPKeyRing}.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue