using System; using System.Collections.Generic; namespace Org.BouncyCastle.Utilities.IO.Pem { public class PemObject : PemObjectGenerator { private readonly string m_type; private readonly IList m_headers; private readonly byte[] m_content; public PemObject(string type, byte[] content) : this(type, new List(), content) { } public PemObject(string type, IList headers, byte[] content) { m_type = type; m_headers = new List(headers); m_content = content; } public string Type { get { return m_type; } } public IList Headers { get { return m_headers; } } public byte[] Content { get { return m_content; } } public PemObject Generate() { return this; } } }