cryptoservices/certificateandkeymgmt/tpkcs7/testdatainput/noencryptedcontent/safebag_certbag.txt
author savpatil@2INL09984
Thu, 08 Oct 2009 14:59:39 +0530
changeset 11 9d767430696e
parent 8 35751d3474b7
permissions -rw-r--r--
Merged in changes from the tip of RCL_1 branch which includes fixes for Bug 284, Bug 383, Bug 287. These were wiped out from when the S^3 code drop came in.

// 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_X509
			EXPLICIT
				OCTETSTRING
					INCLUDE_BINARY_FILE=$1
				END
			END
		END
	END
	// Attributes
	SET
		SEQUENCE
			OID=PKCS9_LOCAL_KEYID
			SET	
				OCTETSTRING
					HASH=sha1
						INCLUDE_BINARY_FILE=$1
					END
				END
			END
		END 
		SEQUENCE
			OID=PKCS9_FRIENDLY_NAME
			SET
				BMPSTRING=$2
			END
		END	
	END
END