001package io.cui.tools.net.ssl;
002
003/**
004 * Used in the context of {@link KeyMaterialHolder}. Defines the type of the contained Key.
005 *
006 * @author Oliver Wolff
007 *
008 */
009public enum KeyHolderType {
010
011    /**
012     * The byte[] represents a serialized keyStore. Therefore, the optional
013     * {@link KeyMaterialHolder#getKeyPassword()} represents the store-password.
014     */
015    KEY_STORE,
016
017    /**
018     * The byte-array represents a single key. This is the default for {@link KeyMaterialHolder}
019     */
020    SINGLE_KEY
021}