<commit_before>"""
Copyright (c) 2015 <NAME>
Licensed under the MIT license. See the included LICENSE.txt file for details.
"""

# from . import Payload
import plistlib  # needed for Data() wrapper
from enum import IntFlag


class KeyUsage(IntFlag):
    """Intended key usage flag. Used in SCEP payload."""
    Signing = 1
    Encryption = 4
    All = Signing | Encryption


class PEMCertificatePayload(Payload):
    """PEM-encoded certificate without private key. May contain root
    certificates.
<commit_msg>Forgot to uncomment line, whoops<commit_after>"""
Copyright (c) 2015 <NAME>
Licensed under the MIT license. See the included LICENSE.txt file for details.
"""

from . import Payload
import plistlib  # needed for Data() wrapper
from enum import IntFlag


class KeyUsage(IntFlag):
    """Intended key usage flag. Used in SCEP payload."""
    Signing = 1
    Encryption = 4
    All = Signing | Encryption


class PEMCertificatePayload(Payload):
    """PEM-encoded certificate without private key. May contain root
    certificates.

{'fraction_non_alphanumeric': 0.08645533141210375, 'fraction_numerical': 0.011527377521613832, 'mean_word_length': 3.869158878504673, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4093853', 'n_tokens_mistral': 311, 'n_tokens_neox': 289, 'n_words': 120}