Cryptography

PyJks

Third-party Python package module — jks. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.add_pkcs7_padding()Neutral
#
Signature
add_pkcs7_padding(m, block_size)

add_pkcs7_padding function.

.as_hex()Neutral
#
Signature
as_hex(ba)

as_hex function.

.as_pem()Neutral
#
Signature
as_pem(der_bytes, type)

as_pem function.

.bitstring_to_bytes()Neutral
#
Signature
bitstring_to_bytes(bitstr)

bitstring_to_bytes function.

.pkey_as_pem()Neutral
#
Signature
pkey_as_pem(pk)

pkey_as_pem function.

.print_pem()Neutral
#
Signature
print_pem(der_bytes, type)

print_pem function.

.rfc7292.decrypt_PBEWithSHAAnd3KeyTripleDESCBC()Neutral
#
Signature
rfc7292.decrypt_PBEWithSHAAnd3KeyTripleDESCBC(data, password_str, salt, iteration_count)

rfc7292.decrypt_PBEWithSHAAnd3KeyTripleDESCBC function.

.rfc7292.decrypt_PBEWithSHAAndTwofishCBC()Neutral
#
Signature
rfc7292.decrypt_PBEWithSHAAndTwofishCBC(encrypted_data, password, salt, iteration_count)

rfc7292.decrypt_PBEWithSHAAndTwofishCBC function.

.rfc7292.derive_key()Neutral
#
Signature
rfc7292.derive_key(hashfn, purpose_byte, password_str, salt, iteration_count, desired_key_size)

rfc7292.derive_key function.

.rfc7292.encrypt_PBEWithSHAAndTwofishCBC()Neutral
#
Signature
rfc7292.encrypt_PBEWithSHAAndTwofishCBC(plaintext_data, password, salt, iteration_count)

rfc7292.encrypt_PBEWithSHAAndTwofishCBC function.

Fully-Qualified Names

FQNField
jksfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import jks