Lines Matching defs:data
42 * or ciphertext application data besides just the sequence number and
63 * 16..last Data Encrypted data for Wrap tokens with
64 * confidentiality, or plaintext data followed
80 * 16..last SGN_CKSUM Checksum of the "to-be-signed" data and
86 * header (bytes[0..15]) and data (byte[16..]) are saved in tokenHeader and
205 int minSize = 0; // minimal size for token data
213 // Read token data
215 // The only case we can precisely predict the token data length
227 // Hope while blocked in the read above, more data would
279 * Used to determine if this token contains any encrypted data.
280 * @return true if it contains any encrypted data, false if there is only
281 * plaintext data or if there is no data.
291 * @param data the application data to checksum
292 * @param offset the offset where the data starts
293 * @param len the length of the data
299 byte[] data, int offset, int len)
331 checksum = getChecksum(data, offset, len);
348 * @param data the application data
349 * @param offset the offset where the data begins
350 * @param len the length of the application data
354 public final boolean verifySign(byte[] data, int offset, int len)
359 // debug("\t\t data = [" + getHexBytes(data) + "]\n");
361 byte[] myChecksum = getChecksum(data, offset, len);
396 * @param data the application data
397 * @param offset the offset where the data begins
398 * @param len the length of the application data
402 byte[] getChecksum(byte[] data, int offset, int len)
410 * application data to bind the data to this particular token.
413 * application data for checksumming, although the cryptographic
430 return cipherHelper.calculateChecksum(tokenHeaderBytes, data,