cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/testdatainput/oomencrypteddata/oomencrypteddata.txt
changeset 0 2c201484c85f
child 8 35751d3474b7
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 // A simple PKCS#12 file containing a certificate and a private key.
       
     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,07:EE:43:28:2E:FF:F9:D4,1024,PKCS12_PBEIDS_SHAAND40BITRC2CBC,rc2-40-cbc,928fc8bcc6,f59b7405f41d3314,../safecontents.txt,safebag_certbag.txt,../root5ca.der,Encrypted ContentInfo
       
    16 	
       
    17 					END
       
    18 				END
       
    19 			END
       
    20 		END
       
    21 	END
       
    22 
       
    23 	// macData
       
    24 	SEQUENCE
       
    25 		// DigestInfo
       
    26 		SEQUENCE
       
    27 			SEQUENCE
       
    28 				OID=SHA1
       
    29 				NULL
       
    30 			END
       
    31 			// DIGEST		
       
    32 			OCTETSTRING
       
    33 				OUTPUT_BINARY_FILE=pm001_mac,1
       
    34 					HMAC=SHA1,d9c9d4803178c611251ccefef608bda2bf7ec183
       
    35 						INCLUDE_BINARY_FILE=authsafecontents.der
       
    36 					END
       
    37 				END
       
    38 			END		
       
    39 		END		
       
    40 		// macSalt
       
    41 		OCTETSTRING
       
    42 			OUTPUT_BINARY_FILE=pm001_macsalt,1
       
    43 				RAW=6F:85:5D:15:3C:61:8D:4C
       
    44 			END
       
    45 		END
       
    46 		// iterations
       
    47 		INTEGER=2048	
       
    48 	END
       
    49 END