Home > Back-end >  Object identifier (OID) is unknown
Object identifier (OID) is unknown

Time:09-17

The pay treasure to provide payment of the DLL.
//using the specified hash algorithm to calculate dataBytes pay the argument string hash value, and to compute the hash value of the signature,
If (" RSA2 ". The Equals (signType))
{
SignatureBytes=rsaCsp. SignData (dataBytes, "SHA256");
}
The else
{
SignatureBytes=rsaCsp. SignData (dataBytes, "SHA1");
}

RsaCsp. SignData function is to provide the assembly Framework2.0 mscorlib. DLL,
Direct pay with c # code to call the DLL is normally not an error, but in DELPHI programs in the operating system is 32 bit systems and use "SHA256" parameters "would be an error, the exception error message:" object identifier (OID) unknown"

CodePudding user response:

Pay the DLL is written by c # code
  • Related