/** * Returns a string representation of the current object. The * output is only for debugging purposes and should not be used for other * purposes. * * @return A string presentation of this object for debugging output. * @preconditions * @postconditions (result <> null) */ @Override public String toString() { String superToString = super.toString(); return Util.concatObjectsCap(superToString.length() + 100, superToString, "\n Key Type: ", ((keyType != null) ? keyType.toString() : "<unavailable>"), "\n ID: ", id, "\n Start Date: ", startDate, "\n End Date: ", endDate, "\n Derive: ", derive, "\n Local: ", local, "\n Key Generation Mechanism: ", keyGenMechanism, "\n Allowed Mechanisms: ", allowedMechanisms); }