os/security/cryptoservices/certificateandkeymgmt/tpkcs7/testdatainput/notencrypteddata/safebag_shroudedkeybag.txt
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/cryptoservices/certificateandkeymgmt/tpkcs7/testdatainput/notencrypteddata/safebag_shroudedkeybag.txt Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,54 @@
1.4 +// SafeContents
1.5 +// PARAM1: salt
1.6 +// PARAM2: iteration count
1.7 +// PARAM3: cipher_oid
1.8 +// PARAM4: cipher
1.9 +// PARAM5: key
1.10 +// PARAM6: iv
1.11 +// PARAM7: The filename of the DER encoded keyfile
1.12 +// PARAM8: The name of the certificate file
1.13 +// PARAM9: The 'friendly' name of the certificate
1.14 +// SafeBag
1.15 +SEQUENCE
1.16 + OID=PKCS12_BAGTYPES_PKCS8SHROUDEDKEYBAG
1.17 + EXPLICIT
1.18 + // KeyBag
1.19 + SEQUENCE
1.20 + SEQUENCE
1.21 + OID=$3
1.22 + SEQUENCE
1.23 + OCTETSTRING
1.24 + RAW=$1
1.25 + END
1.26 + INTEGER=$2
1.27 + END
1.28 + END
1.29 + OCTETSTRING
1.30 + ENCRYPT=$4,$5,$6
1.31 + INCLUDE_BINARY_FILE=$7
1.32 + END
1.33 + END
1.34 + END
1.35 + END
1.36 + // Attributes
1.37 + SET
1.38 + SEQUENCE
1.39 + OID=PKCS9_LOCAL_KEYID
1.40 + SET
1.41 + OCTETSTRING
1.42 + HASH=sha1
1.43 + INCLUDE_BINARY_FILE=$8
1.44 + END
1.45 + END
1.46 + END
1.47 + END
1.48 + SEQUENCE
1.49 + OID=PKCS9_FRIENDLY_NAME
1.50 + SET
1.51 + BMPSTRING=$9
1.52 + END
1.53 + END
1.54 + END
1.55 +END
1.56 +
1.57 +