jce
Tag sign


JSP tag used for generating signed X.509 certificates


Tag Information
Tag Classnet.sourceforge.jcetaglib.taglib.x509.Sign
TagExtraInfo ClassNone
Body Contentempty
Display NameSign

Attributes
NameRequiredRequest-timeTypeDescription
keypairalgorithmfalsetruejava.lang.StringKeypair algorithm. 'RSA', 'DSA' or 'EC-DSA'. Default is 'RSA'
keylengthfalsetruejava.lang.IntegerKey length. 512, 1024 or 2048. Default is 1024. Please note that not all products support key lengths greater than 1024
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'
serialnumbertruefalsejava.lang.StringVariable to store the certificate serial number
fingerprinttruefalsejava.lang.StringVariable to store the certificate fingerprint (SHA-1)
storefilefalsetruejava.lang.StringThe PKCS#12 (P12) keystore to store the certificate
storeentryfalsetruejava.lang.StringThe PKCS#12 (P12) keystore entry name for this certificate
storepasswordfalsetruejava.lang.StringBufferThe PKCS#12 (P12) keystore password
certificatefalsefalsejava.lang.StringVariable to store the certificate as a PEM formatted string
privatekeyfalsefalsejava.lang.StringVariable to store the private key as a PEM formatted StringBuffer

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.