| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv byte[] | |
| pack-priv int | |
| public static final int | VERSION_1
Version 1 SEIPD packet. |
| public static final int | VERSION_2
Version 2 SEIPD packet. |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| public | |
| private | SymmetricEncIntegrityPacket(int version, int algorithm, int aeadAlgorithm, int chunkSize, byte[] salt)
|
| Modifier and Type | Method and Description |
|---|---|
| public static byte[] | |
| public static SymmetricEncIntegrityPacket | |
| public static SymmetricEncIntegrityPacket | |
| public void | |
| public byte[] | Returns: aadataReturn the AEAD additional authenticated data, which is also used as HKDF info. |
| public int | |
| public int | |
| public int | |
| public byte[] | |
| public int | |
| public int |
| aeadAlgorithm | back to summary |
|---|---|
| pack-priv int aeadAlgorithm | |
| chunkSize | back to summary |
|---|---|
| pack-priv int chunkSize | |
| cipherAlgorithm | back to summary |
|---|---|
| pack-priv int cipherAlgorithm | |
| salt | back to summary |
|---|---|
| pack-priv byte[] salt | |
| version | back to summary |
|---|---|
| pack-priv int version | |
| VERSION_1 | back to summary |
|---|---|
| public static final int VERSION_1 Version 1 SEIPD packet.
Used only with | |
| VERSION_2 | back to summary |
|---|---|
| public static final int VERSION_2 Version 2 SEIPD packet.
Used only with | |
| SymmetricEncIntegrityPacket | back to summary |
|---|---|
| pack-priv SymmetricEncIntegrityPacket(BCPGInputStream in) throws IOException | |
| SymmetricEncIntegrityPacket | back to summary |
|---|---|
| pack-priv SymmetricEncIntegrityPacket(BCPGInputStream in, boolean newPacketFormat) throws IOException | |
| SymmetricEncIntegrityPacket | back to summary |
|---|---|
| public SymmetricEncIntegrityPacket()
Deprecated use createVersion1Packet() | |
| SymmetricEncIntegrityPacket | back to summary |
|---|---|
| private SymmetricEncIntegrityPacket(int version, int algorithm, int aeadAlgorithm, int chunkSize, byte[] salt) | |
| createAAData | back to summary |
|---|---|
| public static byte[] createAAData(int version, int cipherAlgorithm, int aeadAlgorithm, int chunkSize) | |
| createVersion1Packet | back to summary |
|---|---|
| public static SymmetricEncIntegrityPacket createVersion1Packet() | |
| createVersion2Packet | back to summary |
|---|---|
| public static SymmetricEncIntegrityPacket createVersion2Packet(int algorithm, int aeadAlgorithm, int chunkSize, byte[] salt) | |
| encode | back to summary |
|---|---|
| public void encode(BCPGOutputStream bcpgOut) throws IOException Implements org.
| |
| getAAData | back to summary |
|---|---|
| public byte[] getAAData() Return the AEAD additional authenticated data, which is also used as HKDF info. V2 SEIPD packet only.
| |
| getAeadAlgorithm | back to summary |
|---|---|
| public int getAeadAlgorithm() Return the AEAD algorithm. V2 SEIPD packet only.
| |
| getChunkSize | back to summary |
|---|---|
| public int getChunkSize() Return the chunksize for the AEAD construction. V2 SEIPD packet only.
| |
| getCipherAlgorithm | back to summary |
|---|---|
| public int getCipherAlgorithm() Return the cipher algorithm. V2 SEIPD packet only.
| |
| getSalt | back to summary |
|---|---|
| public byte[] getSalt() Return the salt used to derive the message key. V2 SEIPD packet only.
| |
| getType | back to summary |
|---|---|
| public int getType() Implements org. Doc from org. Return the header type.
| |
| getVersion | back to summary |
|---|---|
| public int getVersion() | |