001// Copyright (C) 2002 IAIK
002// https://sic.tech/
003//
004// Copyright (C) 2003 - 2025 Stiftung Secure Information and 
005//                           Communication Technologies SIC
006// https://sic.tech/
007//
008// All rights reserved.
009//
010// This source is provided for inspection purposes and recompilation only,
011// unless specified differently in a contract with IAIK. This source has to
012// be kept in strict confidence and must not be disclosed to any third party
013// under any circumstances. Redistribution in source and binary forms, with
014// or without modification, are <not> permitted in any case!
015//
016// THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
017// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
018// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
019// ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
020// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
021// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
022// OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
023// HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
024// LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
025// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
026// SUCH DAMAGE.
027//
028// $Header: /IAIK-CMS/current/src/demo/keystore/CMSKeyStoreConstants.java 21    12.02.25 17:58 Dbratko $
029// $Revision: 21 $
030//
031
032package demo.keystore;
033
034/**
035 * Some constants for the keystore used by the demos.
036 * 
037 * @see demo.keystore.CMSKeyStore
038 * @see demo.keystore.SetupCMSKeyStore
039 */
040public interface CMSKeyStoreConstants {
041  public final static String CA_RSA                   = "CA.RSA";
042  public final static String CA_RSAPSS                = "CA.RSAPSS";
043  public final static String CA_DSA                   = "CA.DSA";
044  public final static String RSA_2048_SIGN_1          = "RSA_SIGN_1.2048";
045  public final static String RSA_2048_SIGN_2          = "RSA_SIGN_2.2048";
046  public final static String RSA_2048_SIGN_3          = "RSA_SIGN_3.2048";
047  public final static String RSA_2048_CRYPT_1         = "RSA_CRYPT_1.2048";
048  public final static String RSA_2048_CRYPT_2         = "RSA_CRYPT_2.2048";
049  public final static String RSA_2048_CRYPT_3         = "RSA_CRYPT_3.2048";
050  public final static String RSAPSS_2048_SHA1_SIGN    = "RSAPSS_SIGN.2048.SHA1";
051  public final static String RSAPSS_2048_SHA256_SIGN  = "RSAPSS_SIGN.2048.SHA256";
052  public final static String RSAPSS_2048_SHA384_SIGN  = "RSAPSS_SIGN.2048.SHA384";
053  public final static String RSAPSS_2048_SHA512_SIGN  = "RSAPSS_SIGN.2048.SHA512";
054  public final static String DSA_1024                 = "DSA.1024";
055  public final static String DSA_2048                 = "DSA.2048";  // with SHA224
056  public final static String DSA_3072                 = "DSA.3072";  // with SHA256  
057  public final static String ESDH_2048_1              = "ESDH_1.2048";
058  public final static String ESDH_2048_2              = "ESDH_2.2048";
059  public final static String SSDH_2048_1              = "SSDH_1.2048";
060  public final static String SSDH_2048_2              = "SSDH_2.2048";
061  public final static String TSP_SERVER               = "TSP.SERVER";
062  public final static String KS_FILENAME              = "cms.keystore";
063  public final static char[] KS_PASSWORD              = "topSecret".toCharArray();
064  public final static String KS_DIRECTORY             = System.getProperty("user.dir");
065  
066  
067}
068