nl_tokens: see : http : // 115 . 236 . 113 . 201 / doc / nos_user_manual / _build / html / accessControl . html#head generate signature
pl_tokens: function generateSignature ( secretKey , method , contentMd5 , contentType , date , canonicalizedHeaders , canonicalizedResource ) { var hmac = _crypto2 . default . createHmac ( SHA256 , secretKey ) ; var headers = canonicalizedHeaders . map ( function ( header ) { return header . toLowerCase ( ) ; } ) . sort ( ) . join ( '\n' ) ; var data = method + '\n' + contentMd5 + '\n' + contentType + '\n' + date + '\n' ; if ( <mask> && headers . length ) { data += headers + '\n' ; } data += canonicalizedResource ; hmac . update ( data ) ; return hmac . digest ( ENCODING ) ; }