Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IAsn1_2::copyOctetString ( const P6ASN1OCTET pSource,
P6ASN1OCTET pDestination 
)
pure virtual

This method copies the source octet string into the destination parameter.

Octet Strings are different from character strings in that they do not have to be null terminated. The caller must call the freeOctetString() method on all strings copied by this function.

Parameters
pSource[ in ] The binary octet string to copy, length can be zero
pDestination[ out ] Copy of the binary octet string
Returns
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to initialize was not made before this call.
P6R::eInvalidArgpSource or pDestination are NULL.
P6R::eNoMemoryInsufficent memory to copy octet string.