mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-05-20 19:29:25 +02:00
uploaded version 2018_11_15 for python3
This commit is contained in:
parent
7130486efc
commit
e98858c9d0
18 changed files with 1204 additions and 853 deletions
|
@ -5,9 +5,9 @@ import struct
|
|||
from kmsBase import kmsBase
|
||||
|
||||
class kmsRequestUnknown(kmsBase):
|
||||
def getResponse(self):
|
||||
def executeRequestLogic(self):
|
||||
finalResponse = bytearray()
|
||||
finalResponse.extend(bytearray(struct.pack('<I', 0)))
|
||||
finalResponse.extend(bytearray(struct.pack('<I', 0)))
|
||||
finalResponse.extend(bytearray(struct.pack('<I', self.errorCodes['SL_E_VL_KEY_MANAGEMENT_SERVICE_ID_MISMATCH'])))
|
||||
return finalResponse.decode('utf-8').encode('utf-8') #*2to3*
|
||||
return finalResponse.decode('utf-8').encode('utf-8')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue