Skip to content

Commit 34efbc1

Browse files
committed
Updating models for production release of API
1 parent 0970fe6 commit 34efbc1

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed

SSLLabsApiWrapper/Models/Response/EndpointSubModels/Cert.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public class Cert
1717
public List<string> ocspURIs { get; set; }
1818
public int revocationStatus { get; set; }
1919
public int sgc { get; set; }
20+
public string validationType { get; set; }
2021
public int issues { get; set; }
2122
}
2223
}

SSLLabsApiWrapper/Models/Response/EndpointSubModels/Details.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public class Details
1818
public int sessionResumption { get; set; }
1919
public int compressionMethods { get; set; }
2020
public bool supportsNpn { get; set; }
21+
public string npnProtocols { get; set; }
2122
public int sessionTickets { get; set; }
2223
public bool ocspStapling { get; set; }
2324
public bool sniRequired { get; set; }
@@ -30,6 +31,7 @@ public class Details
3031
public bool heartbeat { get; set; }
3132
public int openSslCcs { get; set; }
3233
public int poodleTls { get; set; }
34+
public bool fallbackScsv { get; set; }
3335

3436
public Details()
3537
{

SSLLabsApiWrapper/Models/Response/EndpointSubModels/Key.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ public class Key
44
{
55
public int size { get; set; }
66
public string alg { get; set; }
7-
public bool debianFlaw { get; set; }
7+
public bool debianFlaw { get; set; } //**Deprecated - To be removed in new release
88
public int strength { get; set; }
99
}
1010
}

SSLLabsApiWrapper/Models/Response/EndpointSubModels/List.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ public class List
77
public int cipherStrength { get; set; }
88
public int ecdhBits { get; set; }
99
public int ecdhStrength { get; set; }
10-
public int? dhStrength { get; set; }
11-
public int? dhP { get; set; }
12-
public int? dhG { get; set; }
13-
public int? dhYs { get; set; }
10+
public int? dhStrength { get; set; } //**Deprecated - To be removed in new release
11+
public int? dhP { get; set; } //**Deprecated - To be removed in new release
12+
public int? dhG { get; set; } //**Deprecated - To be removed in new release
13+
public int? dhYs { get; set; } //**Deprecated - To be removed in new release
1414
}
1515
}

SSLLabsApiWrapper/Models/Response/Info.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
namespace SSLLabsApiWrapper.Models.Response
1+
using System.Collections.Generic;
2+
3+
namespace SSLLabsApiWrapper.Models.Response
24
{
35
public class Info : BaseModel
46
{
57
public string engineVersion { get; set; }
68
public string criteriaVersion { get; set; }
79
public int clientMaxAssessments { get; set; }
8-
public string notice { get; set; }
10+
public int currentAssessments { get; set; }
11+
public List<string> messages { get; set; }
912
public bool Online { get; set; }
1013

1114
public Info()

0 commit comments

Comments
 (0)