os/security/cryptoservices/certificateandkeymgmt/tder/example/pkcs12_secret.txt
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/security/cryptoservices/certificateandkeymgmt/tder/example/pkcs12_secret.txt	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,45 @@
     1.4 +// PKCS#12 file that contains an example secret bag containing an Symbian
     1.5 +// DevCert IMEI constaint.
     1.6 +
     1.7 +SEQUENCE
     1.8 +	// Version
     1.9 +	INTEGER=3
    1.10 +
    1.11 +	// authSafe - PFX
    1.12 +	SEQUENCE
    1.13 +		OID=PKCS7_DATA
    1.14 +		EXPLICIT		
    1.15 +			OCTETSTRING
    1.16 +				OUTPUT_BINARY_FILE=authsafecontents.der,1
    1.17 +					// First PDU
    1.18 +					SEQUENCE
    1.19 +						INCLUDE=contentinfo.txt,safecontents.txt,safebag_secretbag.txt,11111111-222222-3-44
    1.20 +					END
    1.21 +				END
    1.22 +			END
    1.23 +		END
    1.24 +	END
    1.25 +
    1.26 +	// macData
    1.27 +	SEQUENCE
    1.28 +		// DigestInfo
    1.29 +		SEQUENCE
    1.30 +			SEQUENCE
    1.31 +				OID=SHA1
    1.32 +				NULL
    1.33 +			END
    1.34 +			// DIGEST		
    1.35 +			OCTETSTRING
    1.36 +				HMAC=SHA1,15846aede455bf914245a79718ac1addb0b86ca3
    1.37 +					INCLUDE_BINARY_FILE=authsafecontents.der
    1.38 +				END
    1.39 +			END		
    1.40 +		END		
    1.41 +		// macSalt
    1.42 +		OCTETSTRING
    1.43 +			RAW=95:5D:62:99:D3:31:50:57
    1.44 +		END
    1.45 +		// iterations
    1.46 +		INTEGER=2048	
    1.47 +	END
    1.48 +END
    1.49 \ No newline at end of file