internal override string RecordDataToString() { return(Precedence + " " + (byte)GatewayType + " " + (byte)Algorithm + " " + ((GatewayType == IpSecGatewayType.None) ? "." : Gateway) + " " + BaseEncodingHelper.ToBase64String(PublicKey)); }
internal override string RecordDataToString() { return((byte)HashAlgorithm + " " + Flags + " " + Iterations + " " + ((Salt.Length == 0) ? "-" : BaseEncodingHelper.ToBase16String(Salt)) + " " + BaseEncodingHelper.ToBase32HexString(NextHashedOwnerName) + " " + String.Join(" ", Types.ConvertAll <String>(ToString).ToArray())); }
protected override string PublicKeyToString() { byte[] publicKey = new byte[MaximumPublicKeyLength]; int currentPosition = 0; EncodePublicKey(publicKey, 0, ref currentPosition, null); return(BaseEncodingHelper.ToBase64String(publicKey)); }
internal override string RecordDataToString() { return(TSigAlgorithmHelper.GetDomainName(Algorithm) + " " + (int)(Inception - new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)).TotalSeconds + " " + (int)(Expiration - new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)).TotalSeconds + " " + (ushort)Mode + " " + (ushort)Error + " " + BaseEncodingHelper.ToBase64String(Key) + " " + BaseEncodingHelper.ToBase64String(OtherData)); }
internal override string RecordDataToString() { return(TSigAlgorithmHelper.GetDomainName(Algorithm) + " " + (int)(TimeSigned - new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)).TotalSeconds + " " + (ushort)Fudge.TotalSeconds + " " + Mac.Length + " " + BaseEncodingHelper.ToBase64String(Mac) + " " + OriginalID + " " + (ushort)Error + " " + OtherData.Length + " " + BaseEncodingHelper.ToBase64String(OtherData)); }
internal override string RecordDataToString() { return(ToString(TypeCovered) + " " + (byte)Algorithm + " " + Labels + " " + OriginalTimeToLive + " " + SignatureExpiration.ToString("yyyyMMddHHmmss") + " " + SignatureInception.ToString("yyyyMMddHHmmss") + " " + KeyTag + " " + SignersName + " " + BaseEncodingHelper.ToBase64String(Signature)); }
protected override string PublicKeyToString() { return(BaseEncodingHelper.ToBase64String(PublicKey)); }
internal override string RecordDataToString() { return(@"\# " + ((RecordData == null) ? "0" : RecordData.Length + " " + BaseEncodingHelper.ToBase16String(RecordData))); }
internal override string RecordDataToString() { return((byte)Algorithm + " " + (byte)FingerPrintType + " " + BaseEncodingHelper.ToBase16String(FingerPrint)); }
internal override string RecordDataToString() { return("0x" + BaseEncodingHelper.ToBase16String(RecordData)); }