Lines Matching refs:Checksum
43 public class Checksum {
49 // Checksum type |sumtype |checksum
126 * Constructs a new Checksum using the raw data and type.
132 public Checksum(byte[] data, int new_cksumType) {
138 * Constructs a new Checksum by calculating the checksum over the data
143 public Checksum(int new_cksumType, byte[] data)
156 * Constructs a new Checksum by calculating the keyed checksum
162 public Checksum(int new_cksumType, byte[] data,
193 public Checksum(byte[] data) throws KdcErrException, KrbCryptoException {
194 this(Checksum.CKSUMTYPE_DEFAULT, data);
198 boolean isEqual(Checksum cksum) throws KdcErrException {
206 * Constructs an instance of Checksum from an ASN.1 encoded representation.
213 private Checksum(DerValue encoding) throws Asn1Exception, IOException {
236 * Encodes a Checksum object.
238 * Checksum ::= SEQUENCE {
249 * @return byte array of enocded Checksum.
285 * @return an instance of Checksum.
288 public static Checksum parse(DerInputStream data,
301 return new Checksum(subDer);
320 if (!(obj instanceof Checksum)) {
325 return isEqual((Checksum)obj);