summary refs log tree commit diff
path: root/crypto/src/tls/TlsServerCertificateImpl.cs
blob: db2d0911f1e07d7f4cc2ea7e0751393c2156d2d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using System;

namespace Org.BouncyCastle.Tls
{
    internal sealed class TlsServerCertificateImpl
        : TlsServerCertificate
    {
        private readonly Certificate m_certificate;
        private readonly CertificateStatus m_certificateStatus;

        internal TlsServerCertificateImpl(Certificate certificate, CertificateStatus certificateStatus)
        {
            this.m_certificate = certificate;
            this.m_certificateStatus = certificateStatus;
        }

        public Certificate Certificate
        {
            get { return m_certificate; }
        }

        public CertificateStatus CertificateStatus
        {
            get { return m_certificateStatus; }
        }
    }
}