I am experimenting with creating a CryptoKey in .Net and would like to know the source of the following exception:
Exception has been thrown by the target of an invocation. The argument has an unexpected value. Parameter name: expiresUtc
DotNetOpenAuth Version is 4.3.0.0, Runtime Version is 4.0.20926.
I'm passing a byte array and a System.DateTime (set to Utc) to the CryptoKey constructor but keep getting this message. Is it something thrown by the DNOA code? If so, what might be wrong with the System.DateTime? If not then I know it's a problem with my coding environment and I'll have an idea where to look.
BTW, if the code for this constructor is available then I'd be happy to inspect it to answer my question, Thanks in advance for any pointers.