Package org.pgpainless.sop
Class ArmorImpl
- java.lang.Object
-
- org.pgpainless.sop.ArmorImpl
-
-
Constructor Summary
Constructors Constructor Description ArmorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Ready
data(InputStream data)
Armor the provided data.Armor
label(ArmorLabel label)
Overrides automatic detection of label.
-
-
-
Constructor Detail
-
ArmorImpl
public ArmorImpl()
-
-
Method Detail
-
label
public Armor label(ArmorLabel label) throws SOPGPException.UnsupportedOption
Description copied from interface:Armor
Overrides automatic detection of label.- Specified by:
label
in interfaceArmor
- Parameters:
label
- armor label- Returns:
- builder instance
- Throws:
SOPGPException.UnsupportedOption
-
data
public Ready data(InputStream data) throws SOPGPException.BadData
Description copied from interface:Armor
Armor the provided data.- Specified by:
data
in interfaceArmor
- Parameters:
data
- input stream of unarmored OpenPGP data- Returns:
- armored data
- Throws:
SOPGPException.BadData
-
-