/** * Get a string representation of the value of this attribute. * * @return A string representation of the value of this attribute. * @preconditions * @postconditions (result <> null) */ @SuppressWarnings("restriction") @Override protected String getValueString() { return ((ckAttribute != null) && (ckAttribute.pValue != null)) ? Util.toHex((byte[]) ckAttribute.pValue) : "<NULL_PTR>"; }
/** * Returns the string representation of this object. Do not parse data from * this string, it is for debugging only. * * @return A string representation of this object. */ @Override public String toString() { return Util.concat(" Client Random (hex): ", Util.toHex(clientRandom), "\n Server Random (hex): ", Util.toHex(serverRandom)); }
/** * Returns the string representation of this object. Do not parse data from * this string, it is for debugging only. * * @return A string representation of this object. */ @Override public String toString() { return Util.concatObjects( " Client MAC Secret key:\n", clientMacSecret, "\n\n Server MAC Secret key:\n", serverMacSecret, "\n\n Client Secret key:\n", clientKey, "\n\n Server Secret key:\n", serverKey, "\n\n Client Initializatin Vector (hex):\n", Util.toHex(clientIV), "\n Server Initializatin Vector (hex): ", Util.toHex(serverIV)); }
/** * Returns the string representation of this object. Do not parse data from * this string, it is for debugging only. * * @return A string representation of this object. */ @Override public String toString() { return Util.concat(" cb: ", Util.toHex(cb)); }
/** * Returns the string representation of this object. Do not parse data from * this string, it is for debugging only. * * @return A string representation of this object. */ @Override public String toString() { return Util.concat(" Public Value (hex): ", Util.toHex(publicValue)); }
/** * Returns the string representation of this object. Do not parse data from * this string, it is for debugging only. * * @return A string representation of this object. */ @Override public String toString() { return Util.concat(" Initialization Vector (hex): ", Util.toHex(iv)); }
/** * Returns the string representation of this object. Do not parse data from * this string, it is for debugging only. * * @return A string representation of this object. */ @Override public String toString() { return Util.concat( " Salt Source: ", ((saltSource == SaltSourceType.SALT_SPECIFIED) ? "Salt Specified" : "<unknown>"), "\n Salt Source Data (hex): ", Util.toHex(saltSourceData), "\n Iterations (dec): ", Long.toString(iterations), "\n Pseudo-Random Function: ", ((pseudoRandomFunction == PseudoRandomFunctionType.HMAC_SHA1) ? "HMAC SHA-1" : "<unknown>"), "\n Pseudo-Random Function Data (hex): ", Util.toHex(pseudoRandomFunctionData)); }
@Override public String toString() { return Util.concat(" Bytes (hex): ", Util.toHex(bytes)); }
/** * Returns the string representation of this object. Do not parse data from * this string, it is for debugging only. * * @return A string representation of this object. */ @Override public String toString() { String kdfStr; if (kdf == KeyDerivationFunctionType.NULL) { kdfStr = "NULL"; } else if (kdf == KeyDerivationFunctionType.SHA1_KDF) { kdfStr = "SHA1_KDF"; } else if (kdf == KeyDerivationFunctionType.SHA1_KDF_ASN1) { kdfStr = "SHA1_KDF_ASN1"; } else if (kdf == KeyDerivationFunctionType.SHA1_KDF_CONCATENATE) { kdfStr = "SHA1_KDF_CONCATENATE"; } else { kdfStr = "<unknown>"; } return Util.concat(" Key Derivation Function: ", kdfStr, "\n Public Data: ", Util.toHex(publicData)); }
/** * Returns the string representation of this object. Do not parse data from * this string, it is for debugging only. * * @return A string representation of this object. */ @Override public String toString() { String upperStr = super.toString(); return Util.concatObjectsCap(upperStr.length() + 100, upperStr, "\n Private Data Length (dec): ", privateDataLength, "\n Private Data: ", privateData, "\n Public Data 2: ", Util.toHex(publicData2)); }
/** * Returns the string representation of this object. Do not parse data from * this string, it is for debugging only. * * @return A string representation of this object. */ @Override public String toString() { return Util.concat(super.toString(), "\n Other Info: ", Util.toHex(otherInfo)); }
/** * Returns the string representation of this object. Do not parse data from * this string, it is for debugging only. * * @return A string representation of this object. */ @Override public String toString() { return Util.concat(super.toString(), "\n Shared Data: ", Util.toHex(sharedData)); }
/** * Returns the string representation of this object. Do not parse data from * this string, it is for debugging only. * * @return A string representation of this object. */ @Override public String toString() { return Util.concatObjects(super.toString(), "\n Private Data Length (dec): ", privateDataLength, "\n Private Data: ", privateData, "\n Public Data 2: ", Util.toHex(publicData2)); }
/** * Returns the string representation of this object. Do not parse data from * this string, it is for debugging only. * * @return A string representation of this object. */ @Override public String toString() { String sourceStr; if (source == SourceType.EMPTY) { sourceStr = "Empty"; } else if (source == SourceType.DATA_SPECIFIED) { sourceStr = "Data Specified"; } else { sourceStr = "<unknown>"; } String upperStr = super.toString(); return Util.concatObjectsCap(upperStr.length() + 100, upperStr, "\n Source: ", sourceStr, "\n Source Data (hex): ", Util.toHex(sourceData)); }