Certes
Show / Hide Table of Contents

Class ISignatureKeyExtensions

Helper methods for AccountKey.

Inheritance
object
ISignatureKeyExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Certes
Assembly: Certes.dll
Syntax
public static class ISignatureKeyExtensions

Methods

| Edit this page View Source

DnsTxt(IKey, string)

Generates the value for DNS TXT record.

Declaration
public static string DnsTxt(this IKey key, string token)
Parameters
Type Name Description
IKey key

The key.

string token

The challenge token.

Returns
Type Description
string

The DNS text value for dns-01 validation.

| Edit this page View Source

KeyAuthorization(IKey, string)

Generates key authorization string.

Declaration
public static string KeyAuthorization(this IKey key, string token)
Parameters
Type Name Description
IKey key

The key.

string token

The challenge token.

Returns
Type Description
string

The key authorization string.

| Edit this page View Source

Thumbprint(IKey)

Generates the base64 encoded thumbprint for the given account key.

Declaration
public static string Thumbprint(this IKey key)
Parameters
Type Name Description
IKey key

The account key.

Returns
Type Description
string

The thumbprint.

| Edit this page View Source

TlsAlpnCertificate(IKey, string, string, IKey)

Generates the certificate for TlsAlpn01 validation.

Declaration
public static string TlsAlpnCertificate(this IKey key, string token, string subjectName, IKey certificateKey)
Parameters
Type Name Description
IKey key

The key.

string token

The TlsAlpn01 token.

string subjectName

Name of the subject.

IKey certificateKey

The certificate key pair.

Returns
Type Description
string

The tls-alpn-01 certificate in PEM.

  • Edit this page
  • View Source
© 2018 Certes Project
Back to top