os/security/cryptoservices/certificateandkeymgmt/tpkcs12intgrtn/testdatainput/ci002/safebag_keybag_ci002.txt
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
// SafeContents
sl@0
     2
// PARAM1: The filename of the DER encoded keyfile
sl@0
     3
// PARAM2: The name of the associated certificate file
sl@0
     4
// PARAM3: The 'friendly' name of the certificate
sl@0
     5
// SafeBag
sl@0
     6
SEQUENCE
sl@0
     7
	OID=PKCS12_BAGTYPES_KEYBAG
sl@0
     8
	EXPLICIT
sl@0
     9
		INCLUDE_BINARY_FILE=$1
sl@0
    10
	END
sl@0
    11
	// Attributes
sl@0
    12
	SET
sl@0
    13
		SEQUENCE
sl@0
    14
			OID=PKCS9_LOCAL_KEYID
sl@0
    15
			SET				
sl@0
    16
				OCTETSTRING
sl@0
    17
					HASH=sha1
sl@0
    18
						INCLUDE_BINARY_FILE=$2
sl@0
    19
					END
sl@0
    20
				END
sl@0
    21
			END
sl@0
    22
		END 
sl@0
    23
		SEQUENCE
sl@0
    24
			OID=PKCS9_FRIENDLY_NAME
sl@0
    25
			SET
sl@0
    26
				BMPSTRING=symbian
sl@0
    27
			END
sl@0
    28
		END	
sl@0
    29
	END
sl@0
    30
END
sl@0
    31
sl@0
    32