Class JeapCryptoMultiKeyDataFormat
java.lang.Object
ch.admin.bit.jeap.crypto.internal.core.dataformat.AbstractJeapCryptoDataFormat
ch.admin.bit.jeap.crypto.internal.core.dataformat.JeapCryptoMultiKeyDataFormat
- All Implemented Interfaces:
JeapCryptoDataFormat
-
Field Summary
Fields inherited from class ch.admin.bit.jeap.crypto.internal.core.dataformat.AbstractJeapCryptoDataFormat
DATA_KEY_FIELD_LENGTH, NONCE_FIELD_LENGTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanParse(byte[] dataContainerBytes) formatToByteBuffer(JeapCryptoContainer cryptoContainer) parse(byte[] dataContainerBytes) Methods inherited from class ch.admin.bit.jeap.crypto.internal.core.dataformat.AbstractJeapCryptoDataFormat
assertBufferHasNoRemainingBytes, assertCiphertextNotEmpty, assertFieldLength, format, getCiphertext, getEncryptedDataKey, getNonce
-
Constructor Details
-
JeapCryptoMultiKeyDataFormat
-
-
Method Details
-
formatToByteBuffer
- Specified by:
formatToByteBufferin classAbstractJeapCryptoDataFormat
-
parse
-
canParse
public boolean canParse(byte[] dataContainerBytes)
-