-
Notifications
You must be signed in to change notification settings - Fork 558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning using Bouncy Castle v.2.3.0 #517
Comments
In this moment, I am trying "Asn1TaggedObject.GetBaseObject()". Is this the correct solution? |
A direct drop-in for:
would be:
which is basically just inlining the current implementation. I would suggest though that you provide a little detail about the call, in particular what your code is expecting to find (i.e. is there a cast or GetInstance call for the return value?) and/or the ASN.1 datatype of which this tagged object is a member (e.g. is it a named type from some RFC?). Direct usage of GetObject() has historically been very error prone in user code. |
Dear @peterdettman, thanks for your reply. |
Hello,
using Bouncy Castle v.2.3.0, I have the following warning:
'Asn1TaggedObject.GetObject()' is obsolete: 'Will be removed'
Can you indicate me the new method to use instead it, please?
The text was updated successfully, but these errors were encountered: