/*
 * @(#)Key.java
 *
 * Copyright (c) 2001-2002 JScape
 * 1147 S. 53rd Pl., Mesa, Arizona, 85206, U.S.A.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * JScape. ("Confidential Information").  You shall not disclose such
 * Confidential Information and shall use it only in accordance with
 * the terms of the license agreement you entered into with JScape.
 */

package com.jscape.crypto;

import java.math.BigInteger;

/**
 * Represents an abstract key instance.
 *
 * @author JSCAPE
 */
public interface Key {

    /**
     * Returns the key contents.
     *
     * @return the key contents as a string
     */
    String getKeyContents();

    /**
     * Returns the first key parameter.
     *
     * @return the first key parameter
     */
    BigInteger getFirst();

    /**
     * Returns the second key parameter.
     *
     * @return the second key parameter
     */
    BigInteger getSecond();
}
