Org.BouncyCastle.X509.X509V2AttributeCertificate.X509V2AttributeCertificate C# (CSharp) Method

X509V2AttributeCertificate() private method

private X509V2AttributeCertificate ( AttributeCertificate cert ) : System
cert Org.BouncyCastle.Asn1.X509.AttributeCertificate
return System
		internal X509V2AttributeCertificate(
			AttributeCertificate cert)
		{
			this.cert = cert;

			try
			{
				this.notAfter = cert.ACInfo.AttrCertValidityPeriod.NotAfterTime.ToDateTime();
				this.notBefore = cert.ACInfo.AttrCertValidityPeriod.NotBeforeTime.ToDateTime();
			}
			catch (Exception e)
			{
				throw new IOException("invalid data structure in certificate!", e);
			}
		}

Same methods

X509V2AttributeCertificate::X509V2AttributeCertificate ( Stream encIn ) : System
X509V2AttributeCertificate::X509V2AttributeCertificate ( byte encoded ) : System