github.com/simranvc/fabric-ca@v0.0.0-20191030094829-acc364294dde/testdata/tcertrequest.json (about)

     1  {
     2  	"TCertBatchRequest": {
     3  		"TS":"ghi",
     4  		"CertSerialNumber":"abc",
     5  		"RootPreKey" : "123" ,
     6  		"Num":"1",
     7  		"attribute-encryption_enabled" : false,
     8  	  "AttributeSet":[
     9  			{
    10  				"AttributeName":"HAPPY",
    11  				"AttributeValue":"bIRTHDAY"
    12  			},
    13  			{
    14  				 "AttributeName":"GOOD",
    15  				 "AttributeValue":"dEAL"
    16  			 },
    17  			{
    18  				"AttributeName":"Sun",
    19  				"AttributeValue":"Rise"
    20  				}
    21  			],
    22  			"CerificateRequestData" :
    23  			{
    24  
    25  
    26              "C": "US",
    27              "L": "RTP",
    28              "O": "IBM",
    29              "OU": "WWW",
    30              "ST": "NC",
    31  						"CN" : "www.doit.com" ,
    32  						"validityPeriod" : 1
    33          },
    34          "CertificateType" : 1
    35  
    36  			}
    37     }