|
pure virtual |
This method loads the standard parts of a DSA (DSS) private key from a set of buffers.
Calling this function requires that the p6cryptokey component was initialized with a p6IRandom component which is uses to generate part of the keys meta-data.
pP | [ in ] One of the DSA parameters, "the prime" |
pLength | [ in ] Contains the size in bytes of pP. |
pQ | [ in ] One of the DSA parameters, "the subprime" |
qLength | [ in ] Contains the size in bytes of pQ. |
pG | [ in ] One of the DSA parameters, "the base" |
gLength | [ in ] Contains the size in bytes of pG. |
pX | [ in ] The public key value, "the private key" |
xLength | [ in ] Contains the size in bytes of pX. |
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | Object is in an incorrect state. |
P6R::eInvalidArg | One of the parameters is NULL. | |
P6R::eInvalidState | pRandom not set during call to initialize(). | |
P6R::eFailAndException | One of the parameters failed to load properly. |