|
Cipherpack v1.2.0-dirty
A Cryprographic Stream Processor
|
Cipherpack header less encrypted keys or signatures as described in Cipherpack Data Stream. More...
Public Member Functions | |
| final boolean | isValid () |
| String | toString () |
| Return a string representation. More... | |
| String | toString (final boolean show_crypto_algos, final boolean force_all_fingerprints) |
| Return a string representation. More... | |
Public Attributes | |
| final CryptoConfig | crypto_cfg |
| final byte[] | plaintext_hash |
| Optional hash value of the plaintext message, produced for convenience and not wired. More... | |
| final String | plaintext_hash_algo |
| Optional hash algorithm for the plaintext message, produced for convenience and not wired. More... | |
| final long | plaintext_size |
| Plaintext message size in bytes, zero if not determined yet. More... | |
| final String | plaintext_version |
| Version of this plaintext message, user semantic, see Cipherpack Data Stream. More... | |
| final String | plaintext_version_parent |
| Version of this plaintext message's preceding message, user semantic, see Cipherpack Data Stream. More... | |
| final List< byte[]> | recevr_fingerprints |
| List of receiver's public-keys fingerprints used to encrypt the symmetric-key, see Cipherpack Data Stream. More... | |
| final byte[] | sender_fingerprint |
| Sender's public-key fingerprint used to sign, see Cipherpack Data Stream. More... | |
| final String | subject |
| Designated subject of message, see Cipherpack Data Stream. More... | |
| final String | target_path |
| Designated target path for this plaintext message, see Cipherpack Data Stream. More... | |
| final long | ts_creation_nsec |
| Creation time since Unix epoch, nanosecond component, see Cipherpack Data Stream. More... | |
| final long | ts_creation_sec |
| Creation time since Unix epoch, second component, see Cipherpack Data Stream. More... | |
| final int | used_recevr_key_idx |
| Index of the matching receiver's public-key fingerprint used to decrypt the symmetric-key, see Cipherpack Data Stream, -1 if not found or not decrypting. More... | |
| final boolean | valid |
| True if packet is valid, otherwise false. More... | |
Cipherpack header less encrypted keys or signatures as described in Cipherpack Data Stream.
Definition at line 40 of file PackHeader.java.
| String org.cipherpack.PackHeader.toString | ( | final boolean | show_crypto_algos, |
| final boolean | force_all_fingerprints | ||
| ) |
Return a string representation.
| show_crypto_algos | pass true if used crypto algos shall be shown, otherwise suppressed (default). |
| force_all_fingerprints | if true always show all getTermKeysFingerprint(), otherwise show only the getTermKeysFingerprint() if >= 0 (default). |
Definition at line 142 of file PackHeader.java.
| final boolean org.cipherpack.PackHeader.isValid | ( | ) |
| String org.cipherpack.PackHeader.toString | ( | ) |
Return a string representation.
Definition at line 183 of file PackHeader.java.
| final String org.cipherpack.PackHeader.target_path |
Designated target path for this plaintext message, see Cipherpack Data Stream.
Definition at line 42 of file PackHeader.java.
| final long org.cipherpack.PackHeader.plaintext_size |
Plaintext message size in bytes, zero if not determined yet.
Definition at line 45 of file PackHeader.java.
| final long org.cipherpack.PackHeader.ts_creation_sec |
Creation time since Unix epoch, second component, see Cipherpack Data Stream.
Definition at line 48 of file PackHeader.java.
| final long org.cipherpack.PackHeader.ts_creation_nsec |
Creation time since Unix epoch, nanosecond component, see Cipherpack Data Stream.
Definition at line 51 of file PackHeader.java.
| final String org.cipherpack.PackHeader.subject |
Designated subject of message, see Cipherpack Data Stream.
Definition at line 54 of file PackHeader.java.
| final String org.cipherpack.PackHeader.plaintext_version |
Version of this plaintext message, user semantic, see Cipherpack Data Stream.
Definition at line 57 of file PackHeader.java.
| final String org.cipherpack.PackHeader.plaintext_version_parent |
Version of this plaintext message's preceding message, user semantic, see Cipherpack Data Stream.
Definition at line 60 of file PackHeader.java.
| final CryptoConfig org.cipherpack.PackHeader.crypto_cfg |
Definition at line 62 of file PackHeader.java.
| final byte [] org.cipherpack.PackHeader.sender_fingerprint |
Sender's public-key fingerprint used to sign, see Cipherpack Data Stream.
Definition at line 65 of file PackHeader.java.
| final List<byte[]> org.cipherpack.PackHeader.recevr_fingerprints |
List of receiver's public-keys fingerprints used to encrypt the symmetric-key, see Cipherpack Data Stream.
Definition at line 68 of file PackHeader.java.
| final int org.cipherpack.PackHeader.used_recevr_key_idx |
Index of the matching receiver's public-key fingerprint used to decrypt the symmetric-key, see Cipherpack Data Stream, -1 if not found or not decrypting.
Definition at line 71 of file PackHeader.java.
| final String org.cipherpack.PackHeader.plaintext_hash_algo |
Optional hash algorithm for the plaintext message, produced for convenience and not wired.
If not used, plaintext_hash_algo is empty.
Definition at line 78 of file PackHeader.java.
| final byte [] org.cipherpack.PackHeader.plaintext_hash |
Optional hash value of the plaintext message, produced for convenience and not wired.
If not used, i.e. plaintext_hash_algo is empty, array has zero size.
Definition at line 85 of file PackHeader.java.
| final boolean org.cipherpack.PackHeader.valid |
True if packet is valid, otherwise false.
Definition at line 88 of file PackHeader.java.