Skip to content

Commit 894143a

Browse files
committed
Updates to support 1.16.x / 27-Apr-15 release of api
1 parent 8ef40c9 commit 894143a

File tree

7 files changed

+17
-6
lines changed

7 files changed

+17
-6
lines changed

SSLLabsApiWrapper/Models/Response/Analyze.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ public class Analyze : BaseModel
1111
public string status { get; set; }
1212
public string statusMessage { get; set; }
1313
public long startTime { get; set; }
14+
public long testTime { get; set; }
1415
public string engineVersion { get; set; }
1516
public string criteriaVersion { get; set; }
1617
public List<Endpoint> endpoints { get; set; }

SSLLabsApiWrapper/Models/Response/Endpoint.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public class Endpoint : BaseModel
1616
// Two groups of poperities can be returned. Just seperating them out for my own reference.
1717
public int duration { get; set; }
1818
public string grade { get; set; }
19+
public string gradeTrustIgnored { get; set; }
1920
public bool hasWarnings { get; set; }
2021
public bool isExceptional { get; set; }
2122

SSLLabsApiWrapper/Models/Response/EndpointSubModels/Cert.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@ public class Cert
1616
public List<string> crlURIs { get; set; }
1717
public List<string> ocspURIs { get; set; }
1818
public int revocationStatus { get; set; }
19+
public int crlRevocationStatus { get; set; }
20+
public int ocspRevocationStatus { get; set; }
1921
public int sgc { get; set; }
2022
public string validationType { get; set; }
2123
public int issues { get; set; }
24+
public bool sct { get; set; }
2225
}
2326
}

SSLLabsApiWrapper/Models/Response/EndpointSubModels/Cert2.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ public class Cert2
99
public string issuerSubject { get; set; }
1010
public string issuerLabel { get; set; }
1111
public string sigAlg { get; set; }
12+
public int issues { get; set; }
1213
public string keyAlg { get; set; }
1314
public int keySize { get; set; }
1415
public int keyStrength { get; set; }
16+
public int revocationStatus { get; set; }
17+
public int crlRevocationStatus { get; set; }
18+
public int ocspRevocationStatus { get; set; }
1519
public string raw { get; set; }
1620
}
1721
}

SSLLabsApiWrapper/Models/Response/EndpointSubModels/Details.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ public class Details
2121
public string npnProtocols { get; set; }
2222
public int sessionTickets { get; set; }
2323
public bool ocspStapling { get; set; }
24+
public int staplingRevocationStatus { get; set; }
25+
public string staplingRevocationErrorMessage { get; set; } // Added as per 1.16.x API docs but not in API
2426
public bool sniRequired { get; set; }
2527
public int httpStatusCode { get; set; }
2628
public bool supportsRc4 { get; set; }
@@ -30,8 +32,12 @@ public class Details
3032
public bool heartbleed { get; set; }
3133
public bool heartbeat { get; set; }
3234
public int openSslCcs { get; set; }
35+
public bool poodle { get; set; }
3336
public int poodleTls { get; set; }
3437
public bool fallbackScsv { get; set; }
38+
public bool freak { get; set; }
39+
public int hasSct { get; set; }
40+
public string httpForwarding { get; set; }
3541

3642
public Details()
3743
{

SSLLabsApiWrapper/Models/Response/EndpointSubModels/List.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,5 @@ 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; } //**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
1410
}
1511
}

SSLLabsApiWrapper/Models/Response/EndpointSubModels/Result.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ public class Result
55
public Client client { get; set; }
66
public int errorCode { get; set; }
77
public int attempts { get; set; }
8-
public int protocolId { get; set; }
9-
public int suiteId { get; set; }
8+
public int? protocolId { get; set; }
9+
public int? suiteId { get; set; }
1010

1111
public Result()
1212
{

0 commit comments

Comments
 (0)