CX509DHDomainParams Class Reference

#include <x509keys.h>

Link against: x509.lib

class CX509DHDomainParams : public CBase

Inherits from

  • CX509DHDomainParams

    Detailed Description

    Encapsulates the compulsory Diffie-Hellman domain parameter values P and G (See RFC 2459).

    Since
    v6.0

    Member Attribute Documentation

    iG

    RInteger iG[protected]

    iJ

    RInteger iJ[protected]

    iP

    RInteger iP[protected]

    iQ

    RInteger iQ[protected]

    iValidationParams

    CX509DHValidationParams *iValidationParams[protected]

    Constructor & Destructor Documentation

    CX509DHDomainParams ( )

    CX509DHDomainParams()[protected]

    ~CX509DHDomainParams ( )

    ~CX509DHDomainParams()[virtual]

    Destructor.

    Frees all resources owned by the object, prior to its destruction.

    Member Function Documentation

    ConstructL ( const TDesC8 &, TInt & )

    voidConstructL(const TDesC8 &aBinaryData,
    TInt &aPos
    )[protected]

    G ( )

    IMPORT_C const TInteger &G()const

    Gets the compulsory parameter value G.

    Returns: The compulsory parameter value G.

    J ( )

    IMPORT_C const TInteger &J()const

    Gets the optional value J.

    Returns: The optional value J.

    NewL ( const TDesC8 & )

    IMPORT_C CX509DHDomainParams *NewL(const TDesC8 &aBinaryData)[static]

    Creates a new DH Domain parameters object from the specified buffer containing the encoded binary representation.

    ParameterDescription
    aBinaryDataThe encoded binary representation.

    Returns: A pointer to the new CX509DHDomainParams object.

    NewL ( const TDesC8 &, TInt & )

    IMPORT_C CX509DHDomainParams *NewL(const TDesC8 &aBinaryData,
    TInt &aPos
    )[static]

    Creates a new DH Domain parameters object from the specified buffer containing the encoded binary representation, starting at the specified offset.

    ParameterDescription
    aBinaryDataThe encoded binary representation.
    aPosThe offset position from which to start decoding.

    Returns: A pointer to the new CX509DHDomainParams object.

    NewLC ( const TDesC8 & )

    IMPORT_C CX509DHDomainParams *NewLC(const TDesC8 &aBinaryData)[static]

    Creates a new DH Domain parameters object from the specified buffer containing the encoded binary representation, and puts a pointer to it onto the cleanup stack.

    ParameterDescription
    aBinaryDataThe encoded binary representation.

    Returns: A pointer to the new CX509DHDomainParams object.

    NewLC ( const TDesC8 &, TInt & )

    IMPORT_C CX509DHDomainParams *NewLC(const TDesC8 &aBinaryData,
    TInt &aPos
    )[static]

    Creates a new DH Domain parameters object from the specified buffer containing the encoded binary representation, starting at the specified offset, and puts a pointer to it onto the cleanup stack.

    ParameterDescription
    aBinaryDataThe encoded binary representation.
    aPosThe offset position from which to start decoding.

    Returns: A pointer to the new CX509DHDomainParams object.

    P ( )

    IMPORT_C const TInteger &P()const

    Gets the compulsory parameter value P.

    Returns: The compulsory parameter value P.

    Q ( )

    IMPORT_C const TInteger &Q()const

    Gets the optional value Q.

    Returns: The optional value Q.

    ValidationParams ( )

    IMPORT_C const CX509DHValidationParams *ValidationParams()const

    Gets the optional validation parameters.

    Returns: The optional validation parameters.