Lines Matching refs:keyValue
74 private byte[] keyValue;
93 return keyValue;
97 return new EncryptionKey(keyValue, keyType, kvno);
233 public EncryptionKey(byte[] keyValue,
237 if (keyValue != null) {
238 this.keyValue = new byte[keyValue.length];
239 System.arraycopy(keyValue, 0, this.keyValue, 0, keyValue.length);
257 byte[] keyValue) {
258 this(keyValue, keyType, null);
327 keyValue = stringToKey(password, salt, null, keyType);
337 keyValue = Confounder.bytes(key.keyValue.length);
338 for (int i = 0; i < keyValue.length; i++) {
339 keyValue[i] ^= key.keyValue[i];
349 if (!DESKeySpec.isParityAdjusted(keyValue, 0)) {
350 keyValue = Des.set_parity(keyValue);
353 if (DESKeySpec.isWeak(keyValue, 0)) {
354 keyValue[7] = (byte)(keyValue[7] ^ 0xF0);
360 if (!DESedeKeySpec.isParityAdjusted(keyValue, 0)) {
361 keyValue = Des3.parityFix(keyValue);
365 for (int i=0; i<keyValue.length; i+=8) {
366 System.arraycopy(keyValue, i, oneKey, 0, 8);
368 keyValue[i+7] = (byte)(keyValue[i+7] ^ 0xF0);
403 keyValue = der.getData().getOctetString();
441 temp.putOctetString(keyValue);
450 if (keyValue != null)
451 for (int i = 0; i < keyValue.length; i++)
452 keyValue[i] = 0;
502 cos.write32(keyValue.length);
503 for (int i = 0; i < keyValue.length; i++) {
504 cos.write8(keyValue[i]);
511 + " keyValue (hex dump)="
512 + (keyValue == null || keyValue.length == 0 ?
514 + Krb5.hexDumper.encodeBuffer(keyValue)