Skip to Content
Programming .NET Security
book

Programming .NET Security

by Adam Freeman, Allen Jones
June 2003
Intermediate to advanced
714 pages
22h 8m
English
O'Reilly Media, Inc.
Content preview from Programming .NET Security

Name

CspParameters

Synopsis

public sealed class CspParameters {
// Public Constructors
   public CspParameters(  );
   public CspParameters(int dwTypeIn);
   public CspParameters(int dwTypeIn, string strProviderNameIn);
   public CspParameters(int dwTypeIn, string strProviderNameIn, string strContainerNameIn);
// Public Instance Fields
   public string KeyContainerName;
   public int KeyNumber;
   public string ProviderName;
   public int ProviderType;
// Public Instance Properties
   public CspProviderFlags Flags{set; get; }
}

The asymmetric algorithm implementation classes that are wrappers around the Windows Crypto API (RSACryptoServiceProvider and DSACryptoServiceProvider) are able to read and write key parameters from the persistent Windows key stores. This class can be used as an argument to the implementation class constructors in order to specify the details of which key store should be used.

Passed To

DSACryptoServiceProvider.DSACryptoServiceProvider( ), PasswordDeriveBytes.PasswordDeriveBytes( ), RNGCryptoServiceProvider.RNGCryptoServiceProvider( ), RSACryptoServiceProvider.RSACryptoServiceProvider( )

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

.NET Framework Security

.NET Framework Security

Brian A. LaMacchia, Sebastian Lange, Matthew Lyons, Rudi Martin, Kevin T. Price
.NET Security and Cryptography

.NET Security and Cryptography

Peter Thorsteinson, G. Gnana Arun Ganesh
ASP.NET Core Security

ASP.NET Core Security

Christian Wenz

Publisher Resources

ISBN: 0596004427Supplemental ContentErrata Page