cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/testdatainput/pm009/safebag_certbag.txt
changeset 0 2c201484c85f
child 8 35751d3474b7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/testdatainput/pm009/safebag_certbag.txt	Wed Jul 08 11:25:26 2009 +0100
@@ -0,0 +1,42 @@
+// SafeBag: CertBag
+// PARAM1: The name of the certificate file
+// PARAM2: The 'friendly' name of the certificate
+SEQUENCE
+	OID=PKCS12_BAGTYPES_CERTBAG
+	EXPLICIT
+		// CertBag
+		SEQUENCE
+			OID=PKCS9_CERTTYPES_PKCS12_SDSI
+			EXPLICIT
+				OCTETSTRING
+					INCLUDE_BINARY_FILE=$1
+				END
+			END
+		END
+	END
+	// Attributes
+	SET
+		SEQUENCE
+			OID=PKCS9_LOCAL_KEYID
+			SET
+				OUTPUT_BINARY_FILE=localkeyid_pm009.der,1				
+					OCTETSTRING
+						HASH=sha1
+							INCLUDE_BINARY_FILE=$1
+						END
+					END
+				END
+			END
+		END 
+		SEQUENCE
+			OID=PKCS9_FRIENDLY_NAME
+			SET
+				OUTPUT_BINARY_FILE=friendlyname_pm009.der,1
+					BMPSTRING=symbian
+				END
+			END
+		END	
+	END
+END
+
+