Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Secure Communication Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWX509Certificate

Module:  Secure Communication Module   Package:  Secure Sockets


RWX509CertificateRWHandleBase

Local Index

Members

Header File

#include <rw/secsock/RWX509Certificate.h>

Description

RWX509Certificate is an adapter for the cryptographic library's representation of an X.509 certificate. A certificate contains a public key and some information concerning the validity of the certificate. The certificate is digitally signed by the issuer to protect its integrity.

Typedef

typedef X509* RWX509CertificateRep;

Public Constructors

RWX509Certificate(const char** certData, int numLines);
RWX509Certificate(istream& is);

Public Member Functions

RWCString
getIssuerNameString() const;
RWDateTime
getNotAfterDate() const;
RWDateTime
getNotBeforeDate() const;
int
getPublicKeyLength() const;
RWX509CertificateRep
getRep() const;

NOTE -- The memory that this pointer references is owned by the body class RWX509CertificateImp, so do not attempt to delete the memory. RWX509CertificateImp deletes the memory when all handles referring to that body are destroyed.
RWCString 
getSerialNumber() const;
RWCString
getSubjectNameString() const;
long
getVersion() const;
bool
isValid(const RWDateTime& date = RWDateTime
       (RWDateTime::setCurrentTime)) const;
void
throwIfNotValid(const RWDateTime& date = RWDateTime 
               (RWDateTime::setCurrentTime)) const;


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.