sl@0: // SafeContents sl@0: // PARAM1: salt sl@0: // PARAM2: iteration count sl@0: // PARAM3: cipher_oid sl@0: // PARAM4: cipher sl@0: // PARAM5: key sl@0: // PARAM6: iv sl@0: // PARAM7: The filename of the DER encoded keyfile sl@0: // PARAM8: The name of the certificate file sl@0: // PARAM9: The 'friendly' name of the certificate sl@0: // SafeBag sl@0: SEQUENCE sl@0: OID=PKCS12_BAGTYPES_PKCS8SHROUDEDKEYBAG sl@0: EXPLICIT sl@0: // KeyBag sl@0: SEQUENCE sl@0: SEQUENCE sl@0: OID=$3 sl@0: SEQUENCE sl@0: OCTETSTRING sl@0: RAW=$1 sl@0: END sl@0: INTEGER=$2 sl@0: END sl@0: END sl@0: OCTETSTRING sl@0: ENCRYPT=$4,$5,$6 sl@0: INCLUDE_BINARY_FILE=$7 sl@0: END sl@0: END sl@0: END sl@0: END sl@0: // Attributes sl@0: SET sl@0: SEQUENCE sl@0: OID=PKCS9_LOCAL_KEYID sl@0: SET sl@0: OUTPUT_BINARY_FILE=localkeyid_shroudedkeybag.der,1 sl@0: OCTETSTRING sl@0: HASH=sha1 sl@0: INCLUDE_BINARY_FILE=$8 sl@0: END sl@0: END sl@0: END sl@0: END sl@0: END sl@0: SEQUENCE sl@0: OID=PKCS9_FRIENDLY_NAME sl@0: SET sl@0: OUTPUT_BINARY_FILE=friendlyname_shroudedkeybag.der,1 sl@0: BMPSTRING=$9 sl@0: END sl@0: END sl@0: END sl@0: END sl@0: END sl@0: sl@0: