cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/testdatainput/ct001/safebag_certbag.txt
changeset 0 2c201484c85f
child 8 35751d3474b7
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 // SafeBag: CertBag
       
     2 // PARAM1: The name of the certificate file
       
     3 // PARAM2: The 'friendly' name of the certificate
       
     4 SEQUENCE
       
     5 	OID=PKCS12_BAGTYPES_CERTBAG
       
     6 	EXPLICIT
       
     7 		// CertBag
       
     8 		SEQUENCE
       
     9 			OID=PKCS9_CERTTYPES_PKCS12_SDSI
       
    10 			EXPLICIT
       
    11 				OCTETSTRING
       
    12 					INCLUDE_BINARY_FILE=$1
       
    13 				END
       
    14 			END
       
    15 		END
       
    16 	END
       
    17 	// Attributes
       
    18 	SET
       
    19 		SEQUENCE
       
    20 			OID=PKCS9_LOCAL_KEYID
       
    21 			SET
       
    22 				OUTPUT_BINARY_FILE=localkeyid_ct001.der,1				
       
    23 					OCTETSTRING
       
    24 						HASH=sha1
       
    25 							INCLUDE_BINARY_FILE=$1
       
    26 						END
       
    27 					END
       
    28 				END
       
    29 			END
       
    30 		END 
       
    31 		SEQUENCE
       
    32 			OID=PKCS9_FRIENDLY_NAME
       
    33 			SET
       
    34 				OUTPUT_BINARY_FILE=friendlyname_ct001.der,1
       
    35 					BMPSTRING=symbian
       
    36 				END
       
    37 			END
       
    38 		END	
       
    39 	END
       
    40 END
       
    41 
       
    42