상속: IDisposable
예제 #1
0
파일: OpenSSL.cs 프로젝트: JeanLedesma/mdcm
 public OpenSslPrivateKey(OpenSslBIO bio)
 {
     _pkey = OpenSslUtility.AssertNotNull(OpenSslNative.PEM_read_bio_PrivateKey(bio.Handle, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero));
 }
예제 #2
0
파일: OpenSSL.cs 프로젝트: JeanLedesma/mdcm
 public OpenSslCertificate(OpenSslBIO bio)
 {
     _x509 = OpenSslUtility.AssertNotNull(OpenSslNative.PEM_read_bio_X509(bio.Handle, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero));
 }
예제 #3
0
 public static OpenSslPrivateKey FromPemFile(string file)
 {
     return(new OpenSslPrivateKey(OpenSslBIO.FromFile(file)));
 }
예제 #4
0
 public OpenSslPrivateKey(OpenSslBIO bio)
 {
     _pkey = OpenSslUtility.AssertNotNull(OpenSslNative.PEM_read_bio_PrivateKey(bio.Handle, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero));
 }
예제 #5
0
 public static OpenSslCertificate FromPemFile(string file)
 {
     return(new OpenSslCertificate(OpenSslBIO.FromFile(file)));
 }
예제 #6
0
 public OpenSslCertificate(OpenSslBIO bio)
 {
     _x509 = OpenSslUtility.AssertNotNull(OpenSslNative.PEM_read_bio_X509(bio.Handle, IntPtr.Zero, IntPtr.Zero, IntPtr.Zero));
 }