In most of the examples I can find from google, I always see people hard-coded some ASN1 header like this:
let rsa2048Asn1Header:[UInt8] = [ 0x30, 0x82, 0x01,