cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/testdatainput/ct001/pkcs12_ct001.txt
changeset 0 2c201484c85f
child 8 35751d3474b7
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 // PKCS#12 file that contains a single certificate
       
     2 
       
     3 SEQUENCE
       
     4 	// Version
       
     5 	INTEGER=3
       
     6 
       
     7 	// authSafe - PFX
       
     8 	SEQUENCE
       
     9 		OID=PKCS7_DATA
       
    10 		EXPLICIT		
       
    11 			OCTETSTRING
       
    12 				OUTPUT_BINARY_FILE=authsafecontents.der,1
       
    13 					// First PDU
       
    14 					SEQUENCE
       
    15 						INCLUDE=encrypted_contentinfo.txt,83:8C:73:5E:D5:8F:75:82,1024,PKCS12_PBEIDS_SHAAND40BITRC2CBC,rc2-40-cbc,7ac90d74f3,279693846f79a545,../safecontents.txt,safebag_certbag.txt,sdsicert.der,Root5 CA
       
    16 					END
       
    17 				END
       
    18 			END
       
    19 		END
       
    20 	END
       
    21 
       
    22 	// macData
       
    23 	SEQUENCE
       
    24 		// DigestInfo
       
    25 		SEQUENCE
       
    26 			SEQUENCE
       
    27 				OID=SHA1
       
    28 				NULL
       
    29 			END
       
    30 			// DIGEST		
       
    31 			OCTETSTRING
       
    32 				OUTPUT_BINARY_FILE=ct001_mac,1
       
    33 					HMAC=SHA1,d32b1bd3b5651123a1cb63a849f804cf6be9545c
       
    34 						INCLUDE_BINARY_FILE=authsafecontents.der
       
    35 					END
       
    36 				END
       
    37 			END		
       
    38 		END		
       
    39 		// macSalt
       
    40 		OCTETSTRING
       
    41 			OUTPUT_BINARY_FILE=ct001_macsalt,1
       
    42 				RAW=95:5D:62:99:D3:31:50:57
       
    43 			END
       
    44 		END
       
    45 		// iterations
       
    46 		INTEGER=2048	
       
    47 	END
       
    48 END