C# Class Org.BouncyCastle.OpenSsl.PemWriter

General purpose writer for OpenSSL PEM objects.
Mostra file Open project: red-gate/iTextSharp-4.1.6 Class Usage Examples

Public Methods

Method Description
PemWriter ( TextWriter writer ) : System
WriteObject ( object obj ) : void
WriteObject ( object obj, string algorithm, char password, SecureRandom random ) : void

Private Methods

Method Description
EncodePrivateKey ( AsymmetricKeyParameter akp, string &keyType ) : byte[]
WriteBytes ( byte bytes ) : void
WriteFooter ( string type ) : void
WriteHeader ( string type ) : void
WritePemBlock ( string type, byte data ) : void

Method Details

PemWriter() public method

public PemWriter ( TextWriter writer ) : System
writer System.IO.TextWriter The TextWriter object to write the output to.
return System

WriteObject() public method

public WriteObject ( object obj ) : void
obj object
return void

WriteObject() public method

public WriteObject ( object obj, string algorithm, char password, SecureRandom random ) : void
obj object
algorithm string
password char
random Org.BouncyCastle.Security.SecureRandom
return void