phpDocumentor CAT_Developer_Documentation
[ class tree: CAT_Developer_Documentation ] [ index: CAT_Developer_Documentation ] [ all elements ]

Class: X509

Source Location: /core/Helper.php

Class X509

Class Overview

This class contains handling functions for X.509 certificates

Located in /core/Helper.php [line 161]



		
				Author(s):
		
		
		
Information Tags:
License:  http://ticker.eduroam.lu/cat/LICENSE

Methods

[ Top ]
Method Summary
void   der2pem()  
void   downloadCA()  
the   pem2der()   transform PEM formed certificate to DER format
void   processCertificate()  
UUID   uuid()   generates a UUID for this instance of a certificate

[ Top ]
Methods
der2pem  [line 196]

  void der2pem( $der_data  )

Parameters:
   $der_data: 

API Tags:
Access:  public


[ Top ]
downloadCA  [line 220]

  void downloadCA( $url  )

Parameters:
   $url: 

API Tags:
Access:  public


[ Top ]
pem2der  [line 187]

  the pem2der( mixed $pem_data  )

transform PEM formed certificate to DER format

Parameters:
mixed   $pem_data:  blob of data, which is hopefully a PEM certificate

API Tags:
Return:  DER representation of the certificate
Access:  public

Information Tags:
Author:  http://php.net/manual/en/ref.openssl.php (comment from 29-Mar-2007)

[ Top ]
processCertificate  [line 201]

  void processCertificate( $cadata  )

Parameters:
   $cadata: 

API Tags:
Access:  public


[ Top ]
uuid  [line 169]

  UUID uuid( [string $prefix = '']  )

generates a UUID for this instance of a certificate

Parameters:
string   $prefix:  an extra prefix to set before the UUID

API Tags:
Return:  (possibly prefixed)
Access:  public


[ Top ]

Documentation generated on Thu, 14 Jul 2011 10:11:51 +0200 by phpDocumentor 1.4.3