Package org.bouncycastle.bcpg
Interface BCPGHeaderObject
- All Known Implementing Classes:
AEADEncDataPacket
,SymmetricEncDataPacket
,SymmetricEncIntegrityPacket
public interface BCPGHeaderObject
Implemented by packets written as headers followed by
a stream of data.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(BCPGOutputStream bcpgOut) int
getType()
Return the header type.
-
Method Details
-
getType
int getType()Return the header type.- Returns:
- header type code
-
encode
- Throws:
IOException
-