File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
nanoFramework.System.Net/X509Certificates Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -155,6 +155,18 @@ public bool HasPrivateKey
155155 }
156156 }
157157
158+ /// <summary>
159+ /// Gets the private key, null if no private key
160+ /// </summary>
161+ /// <remarks>This will give you access directly to the raw decoded byte array of the private key</remarks>
162+ public byte [ ] PrivateKey => _privateKey ;
163+
164+ /// <summary>
165+ /// Gets the public key
166+ /// </summary>
167+ /// <remarks>This will give you access directly to the raw decoded byte array of the public key</remarks>
168+ public byte [ ] PublicKey => RawData ;
169+
158170 /// <summary>
159171 /// Gets the date in local time after which a certificate is no longer valid.
160172 /// </summary>
Original file line number Diff line number Diff line change 11{
22 "$schema" : " https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json" ,
3- "version" : " 1.6.5 -preview.{height}" ,
3+ "version" : " 1.7.0 -preview.{height}" ,
44 "assemblyVersion" : {
55 "precision" : " revision"
66 },
You can’t perform that action at this time.
0 commit comments