/**
*============================================================================
*  Copyright The Ohio State University Research Foundation, The University of Chicago - 
*	Argonne National Laboratory, Emory University, SemanticBits LLC, and 
*	Ekagra Software Technologies Ltd.
*
*  Distributed under the OSI-approved BSD 3-Clause License.
*  See http://ncip.github.com/cagrid-core/LICENSE.txt for details.
*============================================================================
**/
package gov.nih.nci.cagrid.gridca.common;

import java.security.PrivateKey;
import java.security.cert.X509Certificate;


/**
 * @author <A HREF="MAILTO:langella@bmi.osu.edu">Stephen Langella </A>
 * @author <A HREF="MAILTO:oster@bmi.osu.edu">Scott Oster </A>
 * @author <A HREF="MAILTO:hastings@bmi.osu.edu">Shannon Hastings </A>
 * @version $Id: Credential.java,v 1.1 2008/04/29 19:29:48 langella Exp $
 */

public class Credential {

	X509Certificate certificate;
	PrivateKey privateKey;


	public Credential(X509Certificate cert, PrivateKey key) {
		this.certificate = cert;
		this.privateKey = key;
	}


	public X509Certificate getCertificate() {
		return certificate;
	}


	public PrivateKey getPrivateKey() {
		return privateKey;
	}


	public void setPrivateKey(PrivateKey privateKey) {
		this.privateKey = privateKey;
	}
	
	

}

/**
*============================================================================
*  Copyright (c) 2008, The Ohio State University Research Foundation, Emory 
*  University, the University of Minnesota Supercomputing Institute
*
*  Distributed under the OSI-approved BSD 3-Clause License.
*  See http://ncip.github.com/cagrid-core/LICENSE.txt for details.
*============================================================================
**/
package gov.nih.nci.cagrid.gridca.common;

import java.security.PrivateKey;
import java.security.cert.X509Certificate;


/**
 * @author <A HREF="MAILTO:langella@bmi.osu.edu">Stephen Langella </A>
 * @author <A HREF="MAILTO:oster@bmi.osu.edu">Scott Oster </A>
 * @author <A HREF="MAILTO:hastings@bmi.osu.edu">Shannon Hastings </A>
 * @version $Id: Credential.java,v 1.1 2008/04/29 19:29:48 langella Exp $
 */

public class Credential {

	X509Certificate certificate;
	PrivateKey privateKey;


	public Credential(X509Certificate cert, PrivateKey key) {
		this.certificate = cert;
		this.privateKey = key;
	}


	public X509Certificate getCertificate() {
		return certificate;
	}


	public PrivateKey getPrivateKey() {
		return privateKey;
	}


	public void setPrivateKey(PrivateKey privateKey) {
		this.privateKey = privateKey;
	}
	
	

}

Update Credential.java