mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-05-15 23:54:48 -04:00
13 lines
488 B
Python
13 lines
488 B
Python
#!/usr/bin/env python
|
|
|
|
import struct
|
|
|
|
from kmsBase import kmsBase
|
|
|
|
class kmsRequestUnknown(kmsBase):
|
|
def getResponse(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 str(finalResponse)
|