Class DigestSaslServer

    • Field Detail

      • digestUriProtocolAccepted

        private final Predicate<String> digestUriProtocolAccepted
      • defaultRealm

        private final boolean defaultRealm
      • realms

        private String[] realms
      • supportedCiphers

        private String supportedCiphers
      • receivingMaxBuffSize

        private int receivingMaxBuffSize
      • nonceCount

        private int nonceCount
      • receivedClientUri

        private String receivedClientUri
      • boundServerName

        private String boundServerName
    • Method Detail

      • generateChallenge

        private byte[] generateChallenge()
        Generates a digest challenge digest-challenge = 1#( realm | nonce | qop-options | stale | maxbuf | charset algorithm | cipher-opts | auth-param ) realm = "realm" "=" <"> realm-value <"> realm-value = qdstr-val nonce = "nonce" "=" <"> nonce-value <"> nonce-value = qdstr-val qop-options = "qop" "=" <"> qop-list <"> qop-list = 1#qop-value qop-value = "auth" | "auth-int" | "auth-conf" | token stale = "stale" "=" "true" maxbuf = "maxbuf" "=" maxbuf-value maxbuf-value = 1*DIGIT charset = "charset" "=" "utf-8" algorithm = "algorithm" "=" "md5-sess" cipher-opts = "cipher" "=" <"> 1#cipher-value <"> cipher-value = "3des" | "des" | "rc4-40" | "rc4" | "rc4-56" | token auth-param = token "=" ( token | quoted-string )
        Returns:
      • noteDigestResponseData

        private void noteDigestResponseData​(HashMap<String,​byte[]> parsedDigestResponse)
      • createResponseAuth

        private byte[] createResponseAuth()