public class CiphertextFooters extends Object
It contains the following fields in order:
AuthLength bytes
| Constructor and Description |
|---|
CiphertextFooters() |
CiphertextFooters(byte[] mAuth) |
| Modifier and Type | Method and Description |
|---|---|
int |
deserialize(byte[] b,
int off)
Parses the footers from the
b starting at offset off and returns the number of
bytes parsed/consumed. |
int |
getAuthLength() |
byte[] |
getMAuth() |
boolean |
isComplete()
Check if this object has all the header fields populated and available for reading.
|
byte[] |
toByteArray() |
public CiphertextFooters()
public CiphertextFooters(byte[] mAuth)
public int deserialize(byte[] b,
int off)
throws ParseException
b starting at offset off and returns the number of
bytes parsed/consumed.ParseExceptionpublic int getAuthLength()
public byte[] getMAuth()
public boolean isComplete()
public byte[] toByteArray()
Copyright © 2023. All rights reserved.