Class cryptiX.apps.BrowserKeySign
All Packages Class Hierarchy This Package Previous Next Index
Class cryptiX.apps.BrowserKeySign
cryptiX.apps.BrowserKeySign
- public class BrowserKeySign
This class is written for Jigsaw, the WWW Server from the W3C.
You can find more information about Jigsaw at: http://www.w3.org/pub/WWW/Jigsaw.
Using this resource you can receive a certificate request generated from Netscape,
create a new cert and send this client cert back to Netscape.
GetKey.html is a sample form for using this resource.
-
ATTR_CA_CERTIFICATE
- Attribute index - The CA certificate file.
-
ATTR_CA_PRIVATE_KEY
- Attribute index - The CA private key file.
-
ATTR_CERT_LOG_FILE
- Attribute index - The log file for signed certificates.
-
ATTR_DAYSVALID
- Attribute index - The days the certificate is valid from today.
-
ATTR_SERIALNUMBER
- Attribute index - The serial number of the next certificate.
-
BrowserKeySign()
-
-
getCACertificate()
- Get the CA Certificate file name.
-
getCAPrivateKey()
- Get the CA private key file name.
-
getLogFile()
- Get the log file for signed certificates.
-
getMonthsValid()
- Get the number of days till the cert expires.
-
getSerialNumber()
- Get the serial number of next certificate.
-
handle(Request, URLDecoder)
- handles the reply for this POST
-
setSerialNumber(String)
- Sets the serial number of next certificate.
ATTR_CA_CERTIFICATE
protected static int ATTR_CA_CERTIFICATE
- Attribute index - The CA certificate file.
ATTR_CA_PRIVATE_KEY
protected static int ATTR_CA_PRIVATE_KEY
- Attribute index - The CA private key file.
ATTR_CERT_LOG_FILE
protected static int ATTR_CERT_LOG_FILE
- Attribute index - The log file for signed certificates.
ATTR_SERIALNUMBER
protected static int ATTR_SERIALNUMBER
- Attribute index - The serial number of the next certificate.
ATTR_DAYSVALID
protected static int ATTR_DAYSVALID
- Attribute index - The days the certificate is valid from today.
BrowserKeySign
public BrowserKeySign()
getCACertificate
public String getCACertificate()
- Get the CA Certificate file name.
getCAPrivateKey
public String getCAPrivateKey()
- Get the CA private key file name.
getLogFile
public String getLogFile()
- Get the log file for signed certificates.
getMonthsValid
public int getMonthsValid()
- Get the number of days till the cert expires.
getSerialNumber
public String getSerialNumber()
- Get the serial number of next certificate.
setSerialNumber
public void setSerialNumber(String sn)
- Sets the serial number of next certificate.
handle
public Reply handle(Request request,
URLDecoder data) throws HTTPException
- handles the reply for this POST
All Packages Class Hierarchy This Package Previous Next Index