
io.gravitee.policy.jws.utils.JwsHeader Maven / Gradle / Ivy
/**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.gravitee.policy.jws.utils;
/**
* @author Titouan COMPIEGNE (titouan.compiegne at graviteesource.com)
* @author GraviteeSource Team
*/
public interface JwsHeader {
/** JWS {@code Algorithm} header parameter name: "alg"
*/
String ALGORITHM = "alg";
/** JWS {@code JWT Set URL} header parameter name: "jku"
*/
String JWK_SET_URL = "jku";
/** JWS {@code JSON Web Key} header parameter name: "jwk"
*/
String JSON_WEB_KEY = "jwk";
/** JWS {@code Key ID} header parameter name: "kid"
*/
String KEY_ID = "kid";
/** JWS {@code X.509 URL} header parameter name: "x5u"
*/
String X509_URL = "x5u";
/** JWS {@code X.509 Certificate Chain} header parameter name: "x5c"
*/
String X509_CERT_CHAIN = "x5c";
/** JWS {@code X.509 Certificate SHA-1 Thumbprint} header parameter name: "x5t"
*/
String X509_CERT_SHA1_THUMBPRINT = "x5t";
/** JWS {@code X.509 Certificate SHA-256 Thumbprint} header parameter name: "x5t#S256"
*/
String X509_CERT_SHA256_THUMBPRINT = "x5t#S256";
/** JWS {@code Critical} header parameter name: "crit"
*/
String CRITICAL = "crit";
/** JWS {@code Type} header parameter name: "typ"
*/
String TYPE = "typ";
/** JWS {@code Content Type} header parameter name: "cty"
*/
String CONTENT_TYPE = "cty";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy