blob: 9aff1de957b3b60e60a9a9ef0abf1e086f950e3d [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2016 Varun Raval and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* Contributors:
* Varun Raval - initial API and implementation
*******************************************************************************/
package org.eclipse.ease.sign;
public interface ISignatureConstants {
// set beginning of signature block preceded by block comments
public static final String BEGIN_STRING = "-----BEGIN SIGNATURE-----";
// set ending of signature block followed by block comments
public static final String END_STRING = "-----END SIGNATURE-----";
// parameters format for signature block
public static final String HASH_PARAM_TAG = "hash:";
public static final String PROVIDER_PARAM_TAG = "provider:";
public static final String CERTIFICATE_TAG = "certificate/s:";
public static final String SIGNATURE_TAG = "signature:";
// set default message digest algorithm
public static final String DEFAULT_MESSAGE_DIGEST_ALGO = "SHA256";
// set default signature provider
public static final String DEFAULT_SIGNATURE_PROVIDER = "preferred";
// set parameters format for signature block
}