robrichards / xmlseclibs

A PHP library for XML Security
BSD 3-Clause "New" or "Revised" License
387 stars 181 forks source link

Append modulus and exponent #74

Open Erebril opened 9 years ago

Erebril commented 9 years ago

hi, sorry about my english, i need to append the modulus and exponent to the signature and i dont know how, is there any way to do this in this branch?

this is the format i need

<KeyInfo>
    <KeyValue>
    <RSAKeyValue>
        <Modulus>

        </Modulus>
        <Exponent>

        </Exponent>
    </RSAKeyValue>
    </KeyValue>
<X509Data>
    <X509Certificate>

    </X509Certificate>
</X509Data>
</KeyInfo>
robrichards commented 9 years ago

Adding RSA keys is currently not supported in the library, only reading them. Marked this as enhancement