/// <summary>
 ///   Creates a new instance of the SshFpRecord class
 /// </summary>
 /// <param name="name"> Name of the record </param>
 /// <param name="timeToLive"> Seconds the record should be cached at most </param>
 /// <param name="algorithm"> Algorithm of fingerprint </param>
 /// <param name="fingerPrintType"> Type of fingerprint </param>
 /// <param name="fingerPrint"> Binary data of the fingerprint </param>
 public SshFpRecord(DomainName name, int timeToLive, SshFpAlgorithm algorithm, SshFpFingerPrintType fingerPrintType, byte[] fingerPrint)
     : base(name, RecordType.SshFp, RecordClass.INet, timeToLive)
 {
     Algorithm       = algorithm;
     FingerPrintType = fingerPrintType;
     FingerPrint     = fingerPrint ?? new byte[] { };
 }
Beispiel #2
0
		public SshFpRecord(string name, int timeToLive, SshFpAlgorithm algorithm, SshFpFingerPrintType fingerPrintType, byte[] fingerPrint)
			: base(name, RecordType.SshFp, RecordClass.INet, timeToLive)
		{
			Algorithm = algorithm;
			FingerPrintType = fingerPrintType;
			FingerPrint = fingerPrint ?? new byte[] { };
		}