Update of /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls
In directory sc8-pr-cvs1:/tmp/cvs-serv1287
Modified Files:
RSASslSignatureDeformatter.cs RSASslSignatureFormatter.cs
Log Message:
Changed field key to be RSA
Index: RSASslSignatureDeformatter.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls/RSASslSignatureDeformatter.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RSASslSignatureDeformatter.cs 14 Dec 2003 15:06:04 -0000 1.1
--- RSASslSignatureDeformatter.cs 21 Dec 2003 14:33:04 -0000 1.2
***************
*** 32,37 ****
#region Fields
! private AsymmetricAlgorithm key;
! private HashAlgorithm hash;
#endregion
--- 32,37 ----
#region Fields
! private RSA key;
! private HashAlgorithm hash;
#endregion
***************
*** 70,74 ****
return Mono.Security.Cryptography.PKCS1.Verify_v15(
! (RSA)this.key,
this.hash,
rgbHash,
--- 70,74 ----
return Mono.Security.Cryptography.PKCS1.Verify_v15(
! this.key,
this.hash,
rgbHash,
***************
*** 97,101 ****
}
! this.key = key;
}
--- 97,101 ----
}
! this.key = key as RSA;
}
Index: RSASslSignatureFormatter.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/Mono.Security.Protocol.Tls/Mono.Security.Protocol.Tls/RSASslSignatureFormatter.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RSASslSignatureFormatter.cs 14 Dec 2003 15:06:04 -0000 1.1
--- RSASslSignatureFormatter.cs 21 Dec 2003 14:33:04 -0000 1.2
***************
*** 32,37 ****
#region Fields
! private AsymmetricAlgorithm key;
! private HashAlgorithm hash;
#endregion
--- 32,37 ----
#region Fields
! private RSA key;
! private HashAlgorithm hash;
#endregion
***************
*** 68,72 ****
return Mono.Security.Cryptography.PKCS1.Sign_v15(
! (RSA)this.key,
this.hash,
rgbHash);
--- 68,72 ----
return Mono.Security.Cryptography.PKCS1.Sign_v15(
! this.key,
this.hash,
rgbHash);
***************
*** 94,98 ****
}
! this.key = key;
}
--- 94,98 ----
}
! this.key = key as RSA;
}
|