public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[FILEPASS]\n");buffer.append("    .type = ").append(HexDump.shortToHex(encryptionType)).append('\n');String prefix = "     ."+encryptionInfo.getEncryptionMode();buffer.append(prefix+".info = ").append(HexDump.shortToHex(encryptionInfo.getVersionMajor())).append('\n');buffer.append(prefix+".ver  = ").append(HexDump.shortToHex(encryptionInfo.getVersionMinor())).append('\n');buffer.append(prefix+".salt = ").append(HexDump.toHex(encryptionInfo.getVerifier().getSalt())).append('\n');buffer.append(prefix+".verifier = ").append(HexDump.toHex(encryptionInfo.getVerifier().getEncryptedVerifier())).append('\n');buffer.append(prefix+".verifierHash = ").append(HexDump.toHex(encryptionInfo.getVerifier().getEncryptedVerifierHash())).append('\n');buffer.append("[/FILEPASS]\n");return buffer.toString();}
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[FILEPASS]\n");buffer.Append("    .type = ").Append(HexDump.ShortToHex(_encryptionType)).Append("\n");buffer.Append("    .info = ").Append(HexDump.ShortToHex(_encryptionInfo)).Append("\n");buffer.Append("    .ver  = ").Append(HexDump.ShortToHex(_minorVersionNo)).Append("\n");buffer.Append("    .docId= ").Append(HexDump.ToHex(_docId)).Append("\n");buffer.Append("    .salt = ").Append(HexDump.ToHex(_saltData)).Append("\n");buffer.Append("    .hash = ").Append(HexDump.ToHex(_saltHash)).Append("\n");buffer.Append("[/FILEPASS]\n");return buffer.ToString();}