.TH "KSSLCertChain" kde3 "11 Jun 2005" "Version Version 3.4.1" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KSSLCertChain \- \fBKDE\fP Certificate Chain Representation Class \fBKDE\fP X.509 Certificate Chain.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <ksslcertchain.h>\fP
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKSSLCertChain\fP ()"
.br
.ti -1c
.RI "\fB~KSSLCertChain\fP ()"
.br
.ti -1c
.RI "bool \fBisValid\fP ()"
.br
.ti -1c
.RI "\fBKSSLCertChain\fP * \fBreplicate\fP ()"
.br
.ti -1c
.RI "void \fBsetChain\fP (void *stack_of_x509)"
.br
.ti -1c
.RI "void \fBsetChain\fP (\fBQPtrList\fP< \fBKSSLCertificate\fP > &chain)"
.br
.ti -1c
.RI "void \fBsetChain\fP (\fBQStringList\fP chain) KDE_DEPRECATED"
.br
.ti -1c
.RI "void \fBsetCertChain\fP (const \fBQStringList\fP &chain)"
.br
.ti -1c
.RI "\fBQPtrList\fP< \fBKSSLCertificate\fP > \fBgetChain\fP ()"
.br
.ti -1c
.RI "int \fBdepth\fP ()"
.br
.ti -1c
.RI "void * \fBrawChain\fP ()"
.br
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "class \fBKSSL\fP"
.br
.ti -1c
.RI "class \fBKSSLPeerInfo\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
\fBKDE\fP Certificate Chain Representation Class \fBKDE\fP X.509 Certificate Chain. 

This class provides a representation for an X.509 certificate chain.
.PP
\fBAuthor:\fP
.RS 4
George Staikos <staikos@kde.org> 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBKSSL\fP, \fBKSSLCertificate\fP, \fBKSSLPeerInfo\fP 
.RE
.PP

.PP
Definition at line 45 of file ksslcertchain.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KSSLCertChain::KSSLCertChain ()"
.PP
Construct a KSSLCertChain object. 
.PP
Definition at line 70 of file ksslcertchain.cc.
.SS "KSSLCertChain::~\fBKSSLCertChain\fP ()"
.PP
Destroy this KSSLCertChain object. 
.PP
Definition at line 76 of file ksslcertchain.cc.
.SH "Member Function Documentation"
.PP 
.SS "bool KSSLCertChain::isValid ()"
.PP
Determine if this represents a valid certificate chain. 
.PP
\fBReturns:\fP
.RS 4
true if it is a valid certificate chain
.RE
.PP

.PP
Definition at line 93 of file ksslcertchain.cc.
.PP
References depth().
.SS "\fBKSSLCertChain\fP * KSSLCertChain::replicate ()"
.PP
Do a deep copy of the certificate chain. 
.PP
\fBReturns:\fP
.RS 4
pointer to a new certificate chain object
.RE
.PP
This is an expensive operation, and you are responsible for deleting the returned object yourself.
.PP
Definition at line 98 of file ksslcertchain.cc.
.PP
References getChain(), QPtrList::setAutoDelete(), and setChain().
.SS "void KSSLCertChain::setChain (void * stack_of_x509)"
.PP
Set the raw chain from OpenSSL. 
.PP
Definition at line 159 of file ksslcertchain.cc.
.PP
Referenced by Observer::messageBox(), replicate(), and setCertChain().
.SS "void KSSLCertChain::setChain (\fBQPtrList\fP< \fBKSSLCertificate\fP > & chain)"
.PP
Set the certificate chain as a pointer list of \fBKSSL\fP certificates. 
.PP
\fBParameters:\fP
.RS 4
\fIchain\fP the certificate chain 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBKSSLCertificate\fP
.RE
.PP

.PP
Definition at line 135 of file ksslcertchain.cc.
.SS "void KSSLCertChain::setChain (\fBQStringList\fP chain)"
.PP
Set the certificate chain as a list of base64 encoded X.509 certificates. 
.PP
\fBParameters:\fP
.RS 4
\fIchain\fP the certificate chain 
.RE
.PP
\fBDeprecated\fP
.RS 4
.RE
.PP

.PP
Definition at line 190 of file ksslcertchain.cc.
.PP
References setCertChain().
.SS "void KSSLCertChain::setCertChain (const \fBQStringList\fP & chain)"
.PP
Set the certificate chain as a list of base64 encoded X.509 certificates. 
.PP
\fBParameters:\fP
.RS 4
\fIchain\fP the certificate chain
.RE
.PP

.PP
Definition at line 194 of file ksslcertchain.cc.
.PP
References QPtrList::append(), KSSLCertificate::fromString(), QPtrList::setAutoDelete(), and setChain().
.PP
Referenced by setChain().
.SS "\fBQPtrList\fP< \fBKSSLCertificate\fP > KSSLCertChain::getChain ()"
.PP
Obtain a copy of the certificate chain. 
.PP
\fBReturns:\fP
.RS 4
a deep copy of the certificate chain. 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBKSSLCertificate\fP
.RE
.PP

.PP
Definition at line 116 of file ksslcertchain.cc.
.PP
References QPtrList::append(), and KSSLCertificate::setCert().
.PP
Referenced by replicate().
.SS "int KSSLCertChain::depth ()"
.PP
Determine the number of entries (depth) of the chain. 
.PP
\fBReturns:\fP
.RS 4
the number of entries in the certificate chain
.RE
.PP

.PP
Definition at line 108 of file ksslcertchain.cc.
.PP
Referenced by isValid().
.SS "void* KSSLCertChain::rawChain ()\fC [inline]\fP"
.PP
Read the raw chain in OpenSSL format. 
.PP
Definition at line 127 of file ksslcertchain.h.
.PP
Referenced by KSSLCertificate::KSSLCertificate(), and KSSLCertificate::replicate().

.SH "Author"
.PP 
Generated automatically by Doxygen for kio Library from the source code.
