summaryrefslogtreecommitdiffstats
path: root/pki/base/util/src/netscape/security/pkcs/PKCS8Key.java
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-12-07 11:02:06 -0500
committerAdam Young <ayoung@redhat.com>2011-12-20 20:39:09 -0500
commit1a37d6047e0db50d6809f716fc3035af1cb603fa (patch)
tree0ba12d3e5ea37d4b63a03e4df29b0fc37855dbff /pki/base/util/src/netscape/security/pkcs/PKCS8Key.java
parent3425098266c4caebcf7dc58612ae5947e791c930 (diff)
downloadpki-1a37d6047e0db50d6809f716fc3035af1cb603fa.tar.gz
pki-1a37d6047e0db50d6809f716fc3035af1cb603fa.tar.xz
pki-1a37d6047e0db50d6809f716fc3035af1cb603fa.zip
Removal of unused private methods
These methods are uncallable. There might be some discussion about the private default constructores. The Rules of Java are different from C++: If there is any constructor defined, all the other defaults befome uncallable. Thus, the private default constructors are not needed. https://bugzilla.redhat.com/show_bug.cgi?id=728303 Conflicts: pki/base/ca/src/com/netscape/ca/CRLIssuingPoint.java
Diffstat (limited to 'pki/base/util/src/netscape/security/pkcs/PKCS8Key.java')
-rw-r--r--pki/base/util/src/netscape/security/pkcs/PKCS8Key.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/pki/base/util/src/netscape/security/pkcs/PKCS8Key.java b/pki/base/util/src/netscape/security/pkcs/PKCS8Key.java
index 20a788fcb..eb4478fc1 100644
--- a/pki/base/util/src/netscape/security/pkcs/PKCS8Key.java
+++ b/pki/base/util/src/netscape/security/pkcs/PKCS8Key.java
@@ -69,18 +69,6 @@ public class PKCS8Key implements PrivateKey {
*/
public PKCS8Key() { }
- /*
- * Build and initialize as a "default" key. All PKCS#8 key
- * data is stored and transmitted losslessly, but no knowledge
- * about this particular algorithm is available.
- */
- private PKCS8Key (AlgorithmId algid, byte key [])
- throws InvalidKeyException {
- this.algid = algid;
- this.key = key;
- encode();
- }
-
/**
* Construct PKCS#8 subject public key from a DER value. If
* the runtime environment is configured with a specific class for