Where is the Bouncy Castle API documentation?

2019-06-15 02:21发布

问题:

I need to do some cryptography based work, and I have found out Bouncy Castle API which is both available for C# and JAVA, for java it has documentation, but it has no documentation for C#.

Can anyone provide me some resources from where I can get idea for using Bouncy Castle with C#?

回答1:

I also couldn't find any C#-documentation for Bouncy Castle API. Seems, like it doesn't exist.

But you can go this way. Download library sources, and look at them a little. Code actually looks like Java-code, but it has minimal differences:

  1. Some base classes moved to interfaces
  2. All the methods and properties are named in 'UpperCamelCase'

Therefore you can freely use Java-documentation. And finally, some example for it usage in C#.

Also, want to add, answer for this question really helps me in one time.



回答2:

I found some getting started document for the FIPS compliant C# version on the bouncyCastle website

Should be applicable for the non-FIPS version as well.