Constants.java

  1. /*
  2.  * GovWay - A customizable API Gateway
  3.  * https://govway.org
  4.  *
  5.  * Copyright (c) 2005-2025 Link.it srl (https://link.it).
  6.  *
  7.  * This program is free software: you can redistribute it and/or modify
  8.  * it under the terms of the GNU General Public License version 3, as published by
  9.  * the Free Software Foundation.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  18.  *
  19.  */
  20. package org.openspcoop2.security;

  21. /**
  22.  * Constants
  23.  *
  24.  * @author Andrea Poli (apoli@link.it)
  25.  * @author $Author$
  26.  * @version $Rev$, $Date$
  27.  */
  28. public class Constants {
  29.    
  30.     public static final String URI_SOAP11_ENV =
  31.         "http://schemas.xmlsoap.org/soap/envelope/";
  32.     public static final String URI_SOAP12_ENV =
  33.         "http://www.w3.org/2003/05/soap-envelope";
  34.     public static final String URI_SOAP11_NEXT_ACTOR =
  35.         "http://schemas.xmlsoap.org/soap/actor/next";
  36.     public static final String URI_SOAP12_NEXT_ROLE =
  37.         "http://www.w3.org/2003/05/soap-envelope/role/next";
  38.     public static final String URI_SOAP12_NONE_ROLE =
  39.         "http://www.w3.org/2003/05/soap-envelope/role/none";
  40.     public static final String URI_SOAP12_ULTIMATE_ROLE =
  41.         "http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver";
  42.    
  43.     public static final String C14N_OMIT_COMMENTS =
  44.         "http://www.w3.org/TR/2001/REC-xml-c14n-20010315";
  45.     public static final String C14N_WITH_COMMENTS =
  46.         "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments";
  47.     public static final String C14N_EXCL_OMIT_COMMENTS =
  48.         "http://www.w3.org/2001/10/xml-exc-c14n#";
  49.     public static final String C14N_EXCL_WITH_COMMENTS =
  50.         "http://www.w3.org/2001/10/xml-exc-c14n#WithComments";
  51.    
  52.     public static final String KEYTRANSPORT_RSA15 =
  53.         "http://www.w3.org/2001/04/xmlenc#rsa-1_5";
  54.     public static final String KEYTRANSPORT_RSAOEP =
  55.         "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p";
  56.     public static final String KEYTRANSPORT_TRIPLE_DES =
  57.             "http://www.w3.org/2001/04/xmlenc#kw-tripledes";
  58.    
  59.     public static final String TRIPLE_DES =
  60.         "http://www.w3.org/2001/04/xmlenc#tripledes-cbc";
  61.     public static final String AES_128 =
  62.         "http://www.w3.org/2001/04/xmlenc#aes128-cbc";
  63.     public static final String AES_256 =
  64.         "http://www.w3.org/2001/04/xmlenc#aes256-cbc";
  65.     public static final String AES_192 =
  66.         "http://www.w3.org/2001/04/xmlenc#aes192-cbc";
  67.     public static final String AES_128_GCM =
  68.         "http://www.w3.org/2009/xmlenc11#aes128-gcm";
  69.     public static final String AES_192_GCM =
  70.         "http://www.w3.org/2009/xmlenc11#aes192-gcm";
  71.     public static final String AES_256_GCM =
  72.         "http://www.w3.org/2009/xmlenc11#aes256-gcm";
  73.     public static final String DSA =
  74.         "http://www.w3.org/2000/09/xmldsig#dsa-sha1";
  75.     public static final String RSA =
  76.         "http://www.w3.org/2000/09/xmldsig#rsa-sha1";
  77.     public static final String RSA_SHA1 =
  78.         "http://www.w3.org/2000/09/xmldsig#rsa-sha1";
  79.     public static final String SHA1 =
  80.         "http://www.w3.org/2000/09/xmldsig#sha1";
  81.     public static final String HMAC_SHA1 =
  82.         "http://www.w3.org/2000/09/xmldsig#hmac-sha1";
  83.     public static final String HMAC_SHA256 =
  84.         "http://www.w3.org/2001/04/xmldsig-more#hmac-sha256";
  85.     public static final String HMAC_SHA384 =
  86.         "http://www.w3.org/2001/04/xmldsig-more#hmac-sha384";
  87.     public static final String HMAC_SHA512 =
  88.         "http://www.w3.org/2001/04/xmldsig-more#hmac-sha512";
  89.     public static final String HMAC_MD5 =
  90.         "http://www.w3.org/2001/04/xmldsig-more#hmac-md5";
  91.    
  92. }