コード例 #1
0
 public SignatureAndHashAlgorithm(HashAlgorithmType hash)
 {
     Hash      = hash;
     Signature = SignatureAlgorithmType.Rsa;
 }
コード例 #2
0
 public void Add(HashAlgorithmType hash, SignatureAlgorithmType signature)
 {
     SignatureAndHashAlgorithms.Add(new SignatureAndHashAlgorithm(hash, signature));
 }
コード例 #3
0
 internal SignatureAndHashAlgorithm(TlsBuffer buffer)
 {
     Hash      = (HashAlgorithmType)buffer.ReadByte();
     Signature = (SignatureAlgorithmType)buffer.ReadByte();
 }
コード例 #4
0
 public SignatureAndHashAlgorithm(HashAlgorithmType hash, SignatureAlgorithmType signature)
 {
     Hash      = hash;
     Signature = signature;
 }
コード例 #5
0
		public void Add (HashAlgorithmType hash, SignatureAlgorithmType signature)
		{
			SignatureAndHashAlgorithms.Add (new SignatureAndHashAlgorithm (hash, signature));
		}
コード例 #6
0
 internal SignatureParameters(SignatureAlgorithmType algorithm)
 {
     _parameters = new Dictionary <SignatureParameterName, int>();
     Add(SignatureParameterName.AlgorithmType, (int)algorithm);
 }
コード例 #7
0
		internal SignatureAndHashAlgorithm (TlsBuffer buffer)
		{
			Hash = (HashAlgorithmType)buffer.ReadByte ();
			Signature = (SignatureAlgorithmType)buffer.ReadByte ();
		}
コード例 #8
0
		public SignatureAndHashAlgorithm (HashAlgorithmType hash)
		{
			Hash = hash;
			Signature = SignatureAlgorithmType.Rsa;
		}
コード例 #9
0
		public SignatureAndHashAlgorithm (HashAlgorithmType hash, SignatureAlgorithmType signature)
		{
			Hash = hash;
			Signature = signature;
		}