CPKIFCVResponse Class Reference

#include <CVResponse.h>

Inheritance diagram for CPKIFCVResponse:

Inheritance graph
[legend]
Collaboration diagram for CPKIFCVResponse:

Collaboration graph
[legend]

List of all members.


Detailed Description

The CPKIFCVResponse class provides an interface to SCVP response objects.
CVResponse ::= SEQUENCE 
{
	cvResponseVersion          INTEGER,
	serverConfigurationID      INTEGER,
	producedAt                 GeneralizedTime,
	responseStatus             ResponseStatus,
	respValidationPolicy   [0] RespValidationPolicy OPTIONAL,
	requestRef             [1] RequestReference OPTIONAL,
	requestorRef           [2] GeneralNames OPTIONAL,
	requestorName          [3] GeneralNames OPTIONAL,
	replyObjects           [4] ReplyObjects OPTIONAL,
	respNonce              [5] OCTET STRING OPTIONAL,
	serverContextInfo      [6] OCTET STRING OPTIONAL,
	cvResponseExtensions   [7] Extensions OPTIONAL,
	requestorText          [8] UTF8String (SIZE (1..256)) OPTIONAL 
}

TSP-enforcing: No

Definition at line 50 of file CVResponse.h.


Public Member Functions

 CPKIFCVResponse ()
virtual ~CPKIFCVResponse (void)
int GetVersion () const
void SetVersion (int v)
void SetConfigurationID (int confID)
const int GetConfigurationID () const
void SetProducedAt (CPKIFTimePtr &producedAt)
const CPKIFTimePtr GetProducedAt () const
void SetResponseStatus (CPKIFResponseStatusPtr &responseStatus)
const CPKIFResponseStatusPtr GetResponseStatus () const
void SetRequestorRef (CPKIFGeneralNameListPtr &requestorRef)
void GetRequestorRef (CPKIFGeneralNameListPtr &requestorRef) const
void SetRequestorName (CPKIFGeneralNameListPtr &requestorName)
void GetRequestorName (CPKIFGeneralNameListPtr &requestorName) const
void SetReplyObjects (CPKIFCertReplyListPtr &replyObjects)
void GetReplyObjects (CPKIFCertReplyListPtr &replyObjects) const
void SetNonce (CPKIFBufferPtr &nonce)
const CPKIFBufferPtr GetNonce () const
void SetRequestReference (CPKIFRequestReferencePtr &nonce)
const CPKIFRequestReferencePtr GetRequestReference () const
void SetValidationPolicy (CPKIFValidationPolicyPtr &validationPolicy)
const CPKIFValidationPolicyPtr GetValidationPolicy () const
void SetServerContextInfo (CPKIFBufferPtr &serverContextInfo)
const CPKIFBufferPtr GetServerContextInfo () const
void SetRequestorText (CPKIFStringPtr &nonce)
const CPKIFStringPtr GetRequestorText () const
bool ExtensionsPresent () const
template<class T>
boost::shared_ptr< T > GetExtension ()
void GetExtensionByOID (const CPKIFOID &oid, CPKIFX509ExtensionPtr &ref)
void GetEncodedExtensions (CPKIFBufferPtr &buf)
bool AreThereAnyUnprocessedCriticalExtensions ()
CPKIFBufferPtr Encode () const
void Decode (CPKIFBufferPtr &msg)

Constructor & Destructor Documentation

CPKIFCVResponse::CPKIFCVResponse (  ) 

virtual CPKIFCVResponse::~CPKIFCVResponse ( void   )  [virtual]


Member Function Documentation

int CPKIFCVResponse::GetVersion (  )  const

void CPKIFCVResponse::SetVersion ( int  v  ) 

void CPKIFCVResponse::SetConfigurationID ( int  confID  ) 

const int CPKIFCVResponse::GetConfigurationID (  )  const

void CPKIFCVResponse::SetProducedAt ( CPKIFTimePtr &  producedAt  ) 

const CPKIFTimePtr CPKIFCVResponse::GetProducedAt (  )  const

void CPKIFCVResponse::SetResponseStatus ( CPKIFResponseStatusPtr &  responseStatus  ) 

const CPKIFResponseStatusPtr CPKIFCVResponse::GetResponseStatus (  )  const

void CPKIFCVResponse::SetRequestorRef ( CPKIFGeneralNameListPtr &  requestorRef  ) 

void CPKIFCVResponse::GetRequestorRef ( CPKIFGeneralNameListPtr &  requestorRef  )  const

void CPKIFCVResponse::SetRequestorName ( CPKIFGeneralNameListPtr &  requestorName  ) 

void CPKIFCVResponse::GetRequestorName ( CPKIFGeneralNameListPtr &  requestorName  )  const

void CPKIFCVResponse::SetReplyObjects ( CPKIFCertReplyListPtr &  replyObjects  ) 

void CPKIFCVResponse::GetReplyObjects ( CPKIFCertReplyListPtr &  replyObjects  )  const

void CPKIFCVResponse::SetNonce ( CPKIFBufferPtr &  nonce  ) 

const CPKIFBufferPtr CPKIFCVResponse::GetNonce (  )  const

void CPKIFCVResponse::SetRequestReference ( CPKIFRequestReferencePtr &  nonce  ) 

const CPKIFRequestReferencePtr CPKIFCVResponse::GetRequestReference (  )  const

void CPKIFCVResponse::SetValidationPolicy ( CPKIFValidationPolicyPtr &  validationPolicy  ) 

const CPKIFValidationPolicyPtr CPKIFCVResponse::GetValidationPolicy (  )  const

void CPKIFCVResponse::SetServerContextInfo ( CPKIFBufferPtr &  serverContextInfo  ) 

const CPKIFBufferPtr CPKIFCVResponse::GetServerContextInfo (  )  const

void CPKIFCVResponse::SetRequestorText ( CPKIFStringPtr nonce  ) 

const CPKIFStringPtr CPKIFCVResponse::GetRequestorText (  )  const

bool CPKIFCVResponse::ExtensionsPresent (  )  const

template<class T>
boost::shared_ptr<T> CPKIFCVResponse::GetExtension (  )  [inline]

this function should be used to retrieve extensions in a type-safe manner you pass a type as a param and the function returns a default smart pointer to that type Interface: External

This function is used to retrieve an extension from an IPKIFHasExtensions object. It takes the type of extension sought by an application as a template parameter and returns a smart pointer to that type (containing a NULL pointer if the extension was not found).

Returns:
A smart pointer to the appropriate extension

Reimplemented from IPKIFHasExtensions.

void CPKIFCVResponse::GetExtensionByOID ( const CPKIFOID oid,
CPKIFX509ExtensionPtr &  ref 
) [virtual]

Implements IPKIFHasExtensions.

void CPKIFCVResponse::GetEncodedExtensions ( CPKIFBufferPtr &  buf  )  [virtual]

Implements IPKIFHasExtensions.

bool CPKIFCVResponse::AreThereAnyUnprocessedCriticalExtensions (  ) 

CPKIFBufferPtr CPKIFCVResponse::Encode (  )  const

void CPKIFCVResponse::Decode ( CPKIFBufferPtr &  msg  ) 


The documentation for this class was generated from the following file:

Generated on Mon Nov 15 11:20:13 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6