os/security/cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/testdatainput/im002/safebag_keybag_im002.txt
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/security/cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/testdatainput/im002/safebag_keybag_im002.txt Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,38 @@
1.4 +// SafeContents
1.5 +// PARAM1: The filename of the DER encoded keyfile
1.6 +// PARAM2: The name of the associated certificate file
1.7 +// PARAM3: The 'friendly' name of the certificate
1.8 +// SafeBag
1.9 +SEQUENCE
1.10 + OID=PKCS12_BAGTYPES_KEYBAG
1.11 + EXPLICIT
1.12 + INCLUDE_BINARY_FILE=$1
1.13 + END
1.14 + // Attributes
1.15 + SET
1.16 + SEQUENCE
1.17 + OID=PKCS9_LOCAL_KEYID
1.18 + SET
1.19 + OUTPUT_BINARY_FILE=localkeyid_im002.der,1
1.20 + OCTETSTRING
1.21 + HASH=sha1
1.22 + INCLUDE_BINARY_FILE=$2
1.23 + END
1.24 + END
1.25 + END
1.26 + END
1.27 + END
1.28 + SEQUENCE
1.29 +
1.30 + OID=PKCS9_FRIENDLY_NAME
1.31 + SET
1.32 + OUTPUT_BINARY_FILE=friendlyname_im002.der,1
1.33 + BMPSTRING=symbian
1.34 + END
1.35 +
1.36 + END
1.37 + END
1.38 + END
1.39 +END
1.40 +
1.41 +