3.1.7.1.5.2 Converting MQDSPUBLICKEY to PUBLICKEYBLOB
Let source be the MQDSPUBLICKEY ([MS-MQMQ] section 2.2.1) structure to be converted. Let result be the PUBLICKEYBLOB (section 2.4.1) that is being constructed. The following steps MUST be performed to construct result from source:
Initialize the constant fields of result as shown in section 2.4.1.
Set the result.bitLen field to the source.abuf.bitlen field.
Set the result.pubExp field to the source.abuf.pubExp field.
Set the result.modulus field to the source.abuf.modulus field.