Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/credentials/EquinoxPrivateCredential.java')
-rw-r--r--bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/credentials/EquinoxPrivateCredential.java39
1 files changed, 0 insertions, 39 deletions
diff --git a/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/credentials/EquinoxPrivateCredential.java b/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/credentials/EquinoxPrivateCredential.java
deleted file mode 100644
index 2a87b834c..000000000
--- a/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/credentials/EquinoxPrivateCredential.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007, 2008 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.equinox.internal.security.credentials;
-
-import javax.crypto.spec.PBEKeySpec;
-import org.eclipse.equinox.security.auth.credentials.IPrivateCredential;
-
-public class EquinoxPrivateCredential implements IPrivateCredential {
-
- final private PBEKeySpec key;
- final private String loginModuleID;
-
- public EquinoxPrivateCredential(PBEKeySpec privateKey, String loginModuleID) {
- this.key = privateKey;
- this.loginModuleID = loginModuleID;
- }
-
- public PBEKeySpec getPrivateKey() {
- return key;
- }
-
- public String getProviderID() {
- return loginModuleID;
- }
-
- public void clear() {
- if (key != null)
- key.clearPassword();
- }
-
-}

Back to the top