org.glite.security.voms.webui.request
Class CertificateHelper

java.lang.Object
  extended byorg.glite.security.voms.webui.request.CertificateHelper

public class CertificateHelper
extends java.lang.Object


Field Summary
protected  java.lang.String certUri
           
protected  java.lang.String email
           
protected  java.lang.String familyName
           
protected  java.lang.String givenName
           
protected static org.apache.log4j.Logger log
           
 
Constructor Summary
CertificateHelper(java.security.cert.X509Certificate cert)
          This class extracts some information from a certificate, which is necessary for the user registration process.
 
Method Summary
 java.lang.String getCertUri()
          Returns the cert URI, from a certificate extension.
 java.lang.String getEmail()
          Returns the email address from subject alternative name.
 java.lang.String getFamilyName()
          Returns the family name, computed from the CN.
 java.lang.String getGivenName()
          Returns the given name, computed from the CN.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log

familyName

protected java.lang.String familyName

givenName

protected java.lang.String givenName

email

protected java.lang.String email

certUri

protected java.lang.String certUri
Constructor Detail

CertificateHelper

public CertificateHelper(java.security.cert.X509Certificate cert)
This class extracts some information from a certificate, which is necessary for the user registration process.

Method Detail

getFamilyName

public java.lang.String getFamilyName()
Returns the family name, computed from the CN.


getGivenName

public java.lang.String getGivenName()
Returns the given name, computed from the CN.


getCertUri

public java.lang.String getCertUri()
Returns the cert URI, from a certificate extension.


getEmail

public java.lang.String getEmail()
Returns the email address from subject alternative name.


toString

public java.lang.String toString()