aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/pkix/src/main/java/org/spongycastle/operator/GenericKey.java
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/spongycastle/pkix/src/main/java/org/spongycastle/operator/GenericKey.java')
-rw-r--r--libraries/spongycastle/pkix/src/main/java/org/spongycastle/operator/GenericKey.java41
1 files changed, 0 insertions, 41 deletions
diff --git a/libraries/spongycastle/pkix/src/main/java/org/spongycastle/operator/GenericKey.java b/libraries/spongycastle/pkix/src/main/java/org/spongycastle/operator/GenericKey.java
deleted file mode 100644
index 5446ce7bc..000000000
--- a/libraries/spongycastle/pkix/src/main/java/org/spongycastle/operator/GenericKey.java
+++ /dev/null
@@ -1,41 +0,0 @@
-package org.spongycastle.operator;
-
-import org.spongycastle.asn1.x509.AlgorithmIdentifier;
-
-public class GenericKey
-{
- private AlgorithmIdentifier algorithmIdentifier;
- private Object representation;
-
- /**
- * @deprecated provide an AlgorithmIdentifier.
- * @param representation key data
- */
- public GenericKey(Object representation)
- {
- this.algorithmIdentifier = null;
- this.representation = representation;
- }
-
- public GenericKey(AlgorithmIdentifier algorithmIdentifier, byte[] representation)
- {
- this.algorithmIdentifier = algorithmIdentifier;
- this.representation = representation;
- }
-
- protected GenericKey(AlgorithmIdentifier algorithmIdentifier, Object representation)
- {
- this.algorithmIdentifier = algorithmIdentifier;
- this.representation = representation;
- }
-
- public AlgorithmIdentifier getAlgorithmIdentifier()
- {
- return algorithmIdentifier;
- }
-
- public Object getRepresentation()
- {
- return representation;
- }
-}