/openjdk7/jdk/src/share/classes/java/util/zip/ |
H A D | CheckedOutputStream.java | 42 private Checksum cksum; field in class:CheckedOutputStream 47 * @param cksum the checksum 49 public CheckedOutputStream(OutputStream out, Checksum cksum) { argument 51 this.cksum = cksum; 61 cksum.update(b); 74 cksum.update(b, off, len); 82 return cksum;
|
H A D | CheckedInputStream.java | 41 private Checksum cksum; field in class:CheckedInputStream 46 * @param cksum the Checksum 48 public CheckedInputStream(InputStream in, Checksum cksum) { argument 50 this.cksum = cksum; 61 cksum.update(b); 84 cksum.update(buf, off, len); 114 return cksum;
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/ |
H A D | DesMacCksumType.java | 98 byte[] cksum = new byte[cksumSize()]; 99 System.arraycopy(conf, 0, cksum, 0, confounderSize()); 100 System.arraycopy(residue, 0, cksum, confounderSize(), 118 byte[] enc_cksum = new byte[cksum.length]; 119 Des.cbc_encrypt(cksum, enc_cksum, new_key, ivec, true); 135 byte[] cksum = decryptKeyedChecksum(checksum, key); 138 System.arraycopy(cksum, 0, new_data, 0, confounderSize()); 152 System.arraycopy(cksum, confounderSize(), orig_cksum, 0, 179 byte[] cksum = new byte[enc_cksum.length]; 180 Des.cbc_encrypt(enc_cksum, cksum, new_ke [all...] |
H A D | RsaMd5DesCksumType.java | 90 //calculate md5 cksum 92 byte[] cksum = new byte[cksumSize()]; 93 System.arraycopy(conf, 0, cksum, 0, confounderSize()); 94 System.arraycopy(mdc_cksum, 0, cksum, confounderSize(), 113 byte[] enc_cksum = new byte[cksum.length]; 114 Des.cbc_encrypt(cksum, enc_cksum, new_key, ivec, true); 131 byte[] cksum = decryptKeyedChecksum(checksum, key); 135 System.arraycopy(cksum, 0, new_data, 0, confounderSize()); 139 //extract original cksum value 141 System.arraycopy(cksum, confounderSiz [all...] |
H A D | DesMacKCksumType.java | 92 byte[] cksum = Des.des_cksum(ivec, data, key); 93 return cksum;
|
H A D | DesCbcEType.java | 117 byte[] cksum = calculateChecksum(new_data, new_data.length); 118 System.arraycopy(cksum, 0, new_data, startOfChecksum(), 168 private void copyChecksumField(byte[] data, byte[] cksum) { argument 170 data[startOfChecksum() + i] = cksum[i]; 190 byte[] cksum = calculateChecksum(data, size); 191 copyChecksumField(data, cksum);
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/ |
H A D | KrbApReq.java | 101 Checksum cksum) throws Asn1Exception, 118 cksum, 169 Checksum cksum, 174 init(options, tgs_creds, cksum, subKey, seqNumber, authorizationData); 184 Checksum cksum, 193 cksum, ctime, subKey, seqNumber, authorizationData, 200 Checksum cksum, 213 cksum, 226 Checksum cksum, 236 cksum, ctim 97 KrbApReq(Credentials tgsCred, boolean mutualRequired, boolean useSubKey, boolean useSeqNumber, Checksum cksum) argument 179 KrbApReq(APOptions apOptions, Ticket ticket, EncryptionKey key, Realm crealm, PrincipalName cname, Checksum cksum, KerberosTime ctime, EncryptionKey subKey, SeqNumber seqNumber, AuthorizationData authorizationData) argument 198 init(APOptions options, Credentials tgs_creds, Checksum cksum, EncryptionKey subKey, SeqNumber seqNumber, AuthorizationData authorizationData, int usage) argument 221 init(APOptions apOptions, Ticket ticket, EncryptionKey key, Realm crealm, PrincipalName cname, Checksum cksum, KerberosTime ctime, EncryptionKey subKey, SeqNumber seqNumber, AuthorizationData authorizationData, int usage) argument 457 createMessage(APOptions apOptions, Ticket ticket, EncryptionKey key, Realm crealm, PrincipalName cname, Checksum cksum, KerberosTime ctime, EncryptionKey subKey, SeqNumber seqNumber, AuthorizationData authorizationData, int usage) argument [all...] |
H A D | KrbSafe.java | 136 Checksum cksum = new Checksum( 143 KRBSafe krb_safe = new KRBSafe(krb_safeBody, cksum); 164 if (!krb_safe.cksum.verifyKeyedChecksum(temp, key,
|
H A D | KrbTgsReq.java | 291 Checksum cksum; 302 cksum = new Checksum(Checksum.CKSUMTYPE_DEFAULT, temp, key, 309 cksum = new Checksum(Checksum.CKSUMTYPE_DEFAULT, temp); 320 cksum,
|
H A D | Checksum.java | 198 boolean isEqual(Checksum cksum) throws KdcErrException { argument 199 if (cksumType != cksum.cksumType) 202 return cksumEngine.isChecksumEqual(checksum, cksum.checksum);
|
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ |
H A D | KRBSafe.java | 48 * cksum [3] Checksum 63 public Checksum cksum; field in class:KRBSafe 69 cksum = new_cksum; 119 cksum = Checksum.parse(der.getData(), (byte)0x03, false); 139 bytes.write(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte)0x03), cksum.asn1Encode());
|
H A D | Authenticator.java | 46 * cksum [3] Checksum OPTIONAL, 66 Checksum cksum; //optional field in class:Authenticator 85 cksum = new_cksum; 136 cksum = Checksum.parse(der.getData(), (byte) 0x03, true); 185 if (cksum != null) { 186 v.addElement(new DerValue(DerValue.createTag(DerValue.TAG_CONTEXT, true, (byte) 0x03), cksum.asn1Encode())); 214 return cksum;
|