-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from WouterTinus/tlsalpn
Add ability to decode TLS-ALPN-01 challenges
- Loading branch information
Showing
7 changed files
with
37 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/ACMESharp/Authorizations/TlsAlpn01ChallengeValidationDetails.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
namespace ACMESharp.Authorizations | ||
{ | ||
/// <summary> | ||
/// https://tools.ietf.org/html/draft-ietf-acme-tls-alpn-05 | ||
/// </summary> | ||
public class TlsAlpn01ChallengeValidationDetails : IChallengeValidationDetails | ||
{ | ||
public const string TlsAlpn01ChallengeType = "tls-alpn-01"; | ||
public const string AlpnExtensionName = "acme-tls/1"; | ||
public const string AcmeIdentifierExtension = "acmeIdentifier"; | ||
|
||
public string ChallengeType => TlsAlpn01ChallengeType; | ||
|
||
public string TokenValue { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 0 additions & 22 deletions
22
src/ACMESharp/Protocol/Messages/RevokeCertificateRequest.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters