[Webfunds-commits] java/webfunds/openpgp/provider CryptixOpenPGP.java

Edwin Woudt edwin@cypherpunks.ai
Mon, 7 Aug 2000 19:43:34 -0400 (AST)


edwin       00/08/07 19:43:34

  Added:       webfunds/openpgp/provider CryptixOpenPGP.java
  Log:
  Simple provider needed for JDK 1.2 compatibility.

Revision  Changes    Path
1.1                  java/webfunds/openpgp/provider/CryptixOpenPGP.java

Index: CryptixOpenPGP.java
===================================================================
/* $Id: CryptixOpenPGP.java,v 1.1 2000/08/07 23:43:34 edwin Exp $
 *
 * Copyright (C) 2000 The Cryptix Foundation Limited. All rights reserved.
 *
 * Use, modification, copying and distribution of this software is subject
 * the terms and conditions of the Cryptix General Licence. You should have
 * received a copy of the Cryptix General Licence along with this library;
 * if not, you can download a copy from http://www.cryptix.org/ .
 */
package webfunds.openpgp.provider;


import java.security.Provider;


/**
 * The Cryptix OpenPGP Certificate Provider.
 *
 * @version $Revision: 1.1 $
 * @author  Edwin Woudt (edwin@cryptix.org)
 * @author  Jeroen C. van Gelderen (gelderen@cryptix.org)
 */
public final class CryptixOpenPGP extends Provider {

// Static variables and constants
//...........................................................................

    private static final String
        NAME    = "CryptixOpenPGP",
        INFO    = "Cryptix OpenPGP Certificate Provider";
    private static final double
        VERSION = 1.0;


// Constructor
//...........................................................................

    public CryptixOpenPGP() {

        super(NAME, VERSION, INFO);

        put("CertificateFactory.OpenPGP", 
                    "webfunds.openpgp.cert.SimpleOpenPGPCertificateFactorySpi");
        put("CertificateFactory.PGP", 
                    "webfunds.openpgp.cert.SimpleOpenPGPCertificateFactorySpi");
    }
}