> The textual representation is a human readable version of the encoded
> extension: in general it isn't the same format as used in the config file
> (which is less readable and restricted in various ways).
>
> What are you trying to do?
The hole task is CA.
I have to implement some additional function to PHP that works with openssl.
I have function that  construct ther CSR, one of arguments  is array of
extensions in such format (format of config file)
    "keyUsage"=>"cRLSign,keyCertSign"
    "basicConstraints"=>"critical,CA:true",
    "extendedKeyUsage"=>"OCSPSigning,codeSigning",
    "authorityInfoAccess" =>"caIssuers;email:[EMAIL PROTECTED]",
    "certificatePolicies"=>"1.3.6.1.4.1.20781.1.1"
The CSR can be formed by client and than is transfered to RA.In this moment
there have to be the possibility to change  the CSR(if it incorrect). After
changing, nonsigned CSR(we don't know the private key of client) is
resending to CA.
To change the CSR require to parse it first, then form the new CSR with
mentioned function.
I want after parsing the CSR get the associative massive and than  pass this
massive  to function that constructing   new CSR.
The format of argument-extensions must be corresponding in this two
functions.
How way  can I archieve this?
Thank  you  for help.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to