Thank you for your answer:
T is CryptoPP::RSA::PublicKey

>
> What is T? OpenSSL's RSA utility expects a DER-encoded
> SubjectPublicKeyInfo structure which is:
>
>    SubjectPublicKeyInfo  ::=  SEQUENCE  {
>         algorithm            AlgorithmIdentifier,
>         subjectPublicKey     BIT STRING  }
>
> The piece you're encoding is just the subjectPublicKey field. (For RSA
> that's a sequence of 2 integers: the modulus and public exponent.)
>
> Geoff

-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.

Reply via email to