Klasse TokenChallenge

Alle implementierten Schnittstellen:
Serializable, PollableResource
Bekannte direkte Unterklassen:
Dns01Challenge, Http01Challenge, TlsAlpn01Challenge

public class TokenChallenge extends Challenge
A generic extension of Challenge that handles challenges with a token and keyAuthorization.
Siehe auch:
  • Felddetails

  • Konstruktordetails

  • Methodendetails

    • getToken

      protected String getToken()
      Gets the token.
    • keyAuthorizationFor

      protected String keyAuthorizationFor(String token)
      Computes the key authorization for the given token.

      The default is token + '.' + base64url(jwkThumbprint). Subclasses may override this method if a different algorithm is used.

      Parameter:
      token - Token to be used
      Gibt zurück:
      Key Authorization string for that token
      Seit:
      2.12
    • getAuthorization

      Returns the authorization string.

      The default uses keyAuthorizationFor(String) to compute the key authorization of getToken(). Subclasses may override this method if a different algorithm is used.