Inheritance: 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));
 }