MCPcopy Index your code
hub / github.com/saltstack/salt / decrypt

Method decrypt

salt/crypt.py:450–456  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

448 return True
449
450 def decrypt(self, data):
451 pem = self.key.public_bytes(
452 encoding=serialization.Encoding.PEM,
453 format=serialization.PublicFormat.SubjectPublicKeyInfo,
454 )
455 verifier = salt.utils.rsax931.RSAX931Verifier(pem)
456 return verifier.verify(data)
457
458
459class PrivateKeyString(PrivateKey):

Callers 15

_gather_pillarMethod · 0.45
__verify_minionMethod · 0.45
_auth_implMethod · 0.45
decryptMethod · 0.45
pwdata_decryptFunction · 0.45
decryptMethod · 0.45
decrypt_aesMethod · 0.45
decryptFunction · 0.45
itemsFunction · 0.45
sealedbox_decryptFunction · 0.45
secretbox_decryptFunction · 0.45

Calls 1

verifyMethod · 0.95

Tested by

no test coverage detected