C# Class Org.BouncyCastle.OpenSsl.PemWriter

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

Méthodes publiques

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

Private Methods

Méthode 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 méthode

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

WriteObject() public méthode

public WriteObject ( object obj ) : void
obj object
Résultat void

WriteObject() public méthode

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