jce
Tag certificatefromrequest


JSP tag for generating X.509 certificates from PKCS#10 or Netscape requests


Tag Information
Tag Classnet.sourceforge.jcetaglib.taglib.x509.CertificateFromRequest
TagExtraInfo ClassNone
Body ContentJSP
Display NameCertificateFromRequest

Attributes
NameRequiredRequest-timeTypeDescription
certrequestfalsetruejava.lang.StringOptional attribute, the certificate request. The body of the tag will be taken if omitted.
requesttypefalsetruejava.lang.StringThe request type. 'PKCS10' for PKCS#10 type request, 'NS' for Netscape type requests. Default is 'PKCS10'
signaturealgorithmfalsetruejava.lang.StringSignature algorithm. Default is 'MD5WithRSAEncryption'
subjectdntruetruejava.lang.StringThe subject DN string. e.g. 'C=BE, O=NET, OU=Sourceforge, CN=CertAuthority, E=info@certauthority.org' Important: if you want to use the certificate for SSL server purposes you must specify the full server & domain name as the 'CN' entry (e.g. '... CN=www.oracle.com ...')
validityfalsetruejava.lang.LongThe validity of the certificate in days. Default is 365
iscafalsetruejava.lang.BooleanDefines this certificate as a CA (Certificate Authority). Default is false. If you want to use this certificate as intermediate certificate, you have to set this parameter to true
crldisturifalsetruejava.lang.StringCRL (Certificate Revocation List) distribution URI extension. Default is none
netscapeextensionsfalsetruejava.lang.StringAdds Netscape certificate extensions to the certificate. If this certificate must work with Netscape products (or Mozilla), you have to specify one of the following parameters:&#10&#10 'CA': this certificate can be used as SSL Certificate Authority, Email Signer and Object Signer&#10 'SERVER': this certificate can be used as SSL Server.&#10 'CLIENT': this certificate can be used as SSL Client, Email Recipient and Object Signer&#10 'ALL': this certificate can be used for all above purposes.
signfiletruetruejava.lang.StringThe PKCS#12 (P12) keystore where the CA signing certificate is stored
signentrytruetruejava.lang.StringThe PKCS#12 (P12) keystore entry name for the CA signing certificate
signpasswordtruetruejava.lang.StringBufferThe PKCS#12 (P12) keystore signing password
scopefalsefalsejava.lang.StringScope of the return variables. Can be 'page', 'session', 'request' or 'application'. Default is 'page'
serialnumbertruetruejava.lang.StringVariable to store the certificate serial number
fingerprinttruetruejava.lang.StringVariable to store the certificate fingerprint (SHA-1)
certificatetruetruejava.lang.StringVariable to store the certificate as a PEM formatted string

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.