Class BasicJWKCredential

    • Field Detail

      • jwkAlgorithm

        @Nullable
        private com.nimbusds.jose.Algorithm jwkAlgorithm
        jwk algorithm.
      • jwkKid

        @Nullable
        private String jwkKid
        jwk kid.
    • Constructor Detail

      • BasicJWKCredential

        public BasicJWKCredential()
    • Method Detail

      • setKid

        public void setKid​(@Nullable
                           String kid)
        Set the kid of jwk.
        Parameters:
        kid - kid of jwk
      • getKid

        @Nullable
        public String getKid()
        Get kid of JWK.
        Specified by:
        getKid in interface JWKCredential
        Returns:
        kid parameter.
      • setAlgorithm

        public void setAlgorithm​(@Nullable
                                 com.nimbusds.jose.Algorithm algorithm)
        Set the algorithm of jwk.
        Parameters:
        algorithm - algorithm of jwk.
      • getAlgorithm

        @Nullable
        public com.nimbusds.jose.Algorithm getAlgorithm()
        Get algorithm of JWK.
        Specified by:
        getAlgorithm in interface JWKCredential
        Returns:
        algorithm of JWK.