mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-05-20 19:29:25 +02:00
py2-kms upload
This commit is contained in:
parent
1d038f22b5
commit
0974c3e33a
19 changed files with 4155 additions and 0 deletions
13
py2-kms/kmsRequestUnknown.py
Normal file
13
py2-kms/kmsRequestUnknown.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/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)
|
Loading…
Add table
Add a link
Reference in a new issue