Class PemObject
- Namespace
- Org.BouncyCastle.Utilities.IO.Pem
- Assembly
- BouncyCastle.Cryptography.dll
public class PemObject : PemObjectGenerator
- Inheritance
-
PemObject
- Implements
-
- Inherited Members
-
Constructors
PemObject(string, byte[])
public PemObject(string type, byte[] content)
Parameters
type string
content byte[]
public PemObject(string type, IList<PemHeader> headers, byte[] content)
Parameters
type string
headers IList<PemHeader>
content byte[]
Properties
Content
public byte[] Content { get; }
Property Value
- byte[]
public IList<PemHeader> Headers { get; }
Property Value
- IList<PemHeader>
Type
public string Type { get; }
Property Value
- string
Methods
Generate()
public PemObject Generate()
Returns
- PemObject
A PemObject
Exceptions
- PemGenerationException