Пример #1
0
		public Key(KeyFormat format, byte[] data)
		{
			Debug.Assert(format.serialize().IndexOf(':') == -1);
			Format = format;
			Data = data;
		}
		public SignatureFormat(KeyFormat keyFormat, string hashAlgorithm)
		{
			Debug.Assert(keyFormat.serialize().IndexOf(':') == -1);
			KeyFormat = keyFormat;
			HashAlgorithm = hashAlgorithm;
		}