Delete kmsRequestUnknown.py

This commit is contained in:
Matteo ℱan 2019-05-14 22:03:26 +02:00 committed by GitHub
parent 8f6d93c703
commit 71ac79cce8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +0,0 @@
#!/usr/bin/env python3
import struct
from kmsBase import kmsBase
class kmsRequestUnknown(kmsBase):
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')