当前位置: 首页>>代码示例>>Python>>正文


Python _Reasons.UNSUPPORTED_X509属性代码示例

本文整理汇总了Python中cryptography.exceptions._Reasons.UNSUPPORTED_X509属性的典型用法代码示例。如果您正苦于以下问题:Python _Reasons.UNSUPPORTED_X509属性的具体用法?Python _Reasons.UNSUPPORTED_X509怎么用?Python _Reasons.UNSUPPORTED_X509使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在cryptography.exceptions._Reasons的用法示例。


在下文中一共展示了_Reasons.UNSUPPORTED_X509属性的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。

示例1: load_pem_x509_certificate

# 需要导入模块: from cryptography.exceptions import _Reasons [as 别名]
# 或者: from cryptography.exceptions._Reasons import UNSUPPORTED_X509 [as 别名]
def load_pem_x509_certificate(self, data):
        for b in self._filtered_backends(X509Backend):
            return b.load_pem_x509_certificate(data)

        raise UnsupportedAlgorithm(
            "This backend does not support X.509.",
            _Reasons.UNSUPPORTED_X509
        ) 
开发者ID:DirceuSilvaLabs,项目名称:noc-orchestrator,代码行数:10,代码来源:multibackend.py

示例2: load_der_x509_certificate

# 需要导入模块: from cryptography.exceptions import _Reasons [as 别名]
# 或者: from cryptography.exceptions._Reasons import UNSUPPORTED_X509 [as 别名]
def load_der_x509_certificate(self, data):
        for b in self._filtered_backends(X509Backend):
            return b.load_der_x509_certificate(data)

        raise UnsupportedAlgorithm(
            "This backend does not support X.509.",
            _Reasons.UNSUPPORTED_X509
        ) 
开发者ID:DirceuSilvaLabs,项目名称:noc-orchestrator,代码行数:10,代码来源:multibackend.py

示例3: load_pem_x509_crl

# 需要导入模块: from cryptography.exceptions import _Reasons [as 别名]
# 或者: from cryptography.exceptions._Reasons import UNSUPPORTED_X509 [as 别名]
def load_pem_x509_crl(self, data):
        for b in self._filtered_backends(X509Backend):
            return b.load_pem_x509_crl(data)

        raise UnsupportedAlgorithm(
            "This backend does not support X.509.",
            _Reasons.UNSUPPORTED_X509
        ) 
开发者ID:DirceuSilvaLabs,项目名称:noc-orchestrator,代码行数:10,代码来源:multibackend.py

示例4: load_der_x509_crl

# 需要导入模块: from cryptography.exceptions import _Reasons [as 别名]
# 或者: from cryptography.exceptions._Reasons import UNSUPPORTED_X509 [as 别名]
def load_der_x509_crl(self, data):
        for b in self._filtered_backends(X509Backend):
            return b.load_der_x509_crl(data)

        raise UnsupportedAlgorithm(
            "This backend does not support X.509.",
            _Reasons.UNSUPPORTED_X509
        ) 
开发者ID:DirceuSilvaLabs,项目名称:noc-orchestrator,代码行数:10,代码来源:multibackend.py

示例5: load_der_x509_csr

# 需要导入模块: from cryptography.exceptions import _Reasons [as 别名]
# 或者: from cryptography.exceptions._Reasons import UNSUPPORTED_X509 [as 别名]
def load_der_x509_csr(self, data):
        for b in self._filtered_backends(X509Backend):
            return b.load_der_x509_csr(data)

        raise UnsupportedAlgorithm(
            "This backend does not support X.509.",
            _Reasons.UNSUPPORTED_X509
        ) 
开发者ID:DirceuSilvaLabs,项目名称:noc-orchestrator,代码行数:10,代码来源:multibackend.py

示例6: create_x509_csr

# 需要导入模块: from cryptography.exceptions import _Reasons [as 别名]
# 或者: from cryptography.exceptions._Reasons import UNSUPPORTED_X509 [as 别名]
def create_x509_csr(self, builder, private_key, algorithm):
        for b in self._filtered_backends(X509Backend):
            return b.create_x509_csr(builder, private_key, algorithm)

        raise UnsupportedAlgorithm(
            "This backend does not support X.509.",
            _Reasons.UNSUPPORTED_X509
        ) 
开发者ID:DirceuSilvaLabs,项目名称:noc-orchestrator,代码行数:10,代码来源:multibackend.py

示例7: create_x509_certificate

# 需要导入模块: from cryptography.exceptions import _Reasons [as 别名]
# 或者: from cryptography.exceptions._Reasons import UNSUPPORTED_X509 [as 别名]
def create_x509_certificate(self, builder, private_key, algorithm):
        for b in self._filtered_backends(X509Backend):
            return b.create_x509_certificate(builder, private_key, algorithm)

        raise UnsupportedAlgorithm(
            "This backend does not support X.509.",
            _Reasons.UNSUPPORTED_X509
        ) 
开发者ID:DirceuSilvaLabs,项目名称:noc-orchestrator,代码行数:10,代码来源:multibackend.py

示例8: create_x509_crl

# 需要导入模块: from cryptography.exceptions import _Reasons [as 别名]
# 或者: from cryptography.exceptions._Reasons import UNSUPPORTED_X509 [as 别名]
def create_x509_crl(self, builder, private_key, algorithm):
        for b in self._filtered_backends(X509Backend):
            return b.create_x509_crl(builder, private_key, algorithm)

        raise UnsupportedAlgorithm(
            "This backend does not support X.509.",
            _Reasons.UNSUPPORTED_X509
        ) 
开发者ID:DirceuSilvaLabs,项目名称:noc-orchestrator,代码行数:10,代码来源:multibackend.py

示例9: create_x509_revoked_certificate

# 需要导入模块: from cryptography.exceptions import _Reasons [as 别名]
# 或者: from cryptography.exceptions._Reasons import UNSUPPORTED_X509 [as 别名]
def create_x509_revoked_certificate(self, builder):
        for b in self._filtered_backends(X509Backend):
            return b.create_x509_revoked_certificate(builder)

        raise UnsupportedAlgorithm(
            "This backend does not support X.509.",
            _Reasons.UNSUPPORTED_X509
        ) 
开发者ID:DirceuSilvaLabs,项目名称:noc-orchestrator,代码行数:10,代码来源:multibackend.py

示例10: load_pem_x509_csr

# 需要导入模块: from cryptography.exceptions import _Reasons [as 别名]
# 或者: from cryptography.exceptions._Reasons import UNSUPPORTED_X509 [as 别名]
def load_pem_x509_csr(self, data):
        for b in self._filtered_backends(X509Backend):
            return b.load_pem_x509_csr(data)

        raise UnsupportedAlgorithm(
            "This backend does not support X.509.",
            _Reasons.UNSUPPORTED_X509
        ) 
开发者ID:DirceuSilvaLabs,项目名称:noc-orchestrator,代码行数:10,代码来源:multibackend.py

示例11: x509_name_bytes

# 需要导入模块: from cryptography.exceptions import _Reasons [as 别名]
# 或者: from cryptography.exceptions._Reasons import UNSUPPORTED_X509 [as 别名]
def x509_name_bytes(self, name):
        for b in self._filtered_backends(X509Backend):
            return b.x509_name_bytes(name)

        raise UnsupportedAlgorithm(
            "This backend does not support X.509.",
            _Reasons.UNSUPPORTED_X509
        ) 
开发者ID:lordmuffin,项目名称:aws-cfn-plex,代码行数:10,代码来源:multibackend.py

示例12: load_pem_x509_certificate

# 需要导入模块: from cryptography.exceptions import _Reasons [as 别名]
# 或者: from cryptography.exceptions._Reasons import UNSUPPORTED_X509 [as 别名]
def load_pem_x509_certificate(self, data):
        for b in self._filtered_backends(
            X509Backend
        ):
            return b.load_pem_x509_certificate(data)

        raise UnsupportedAlgorithm(
            "This backend does not support X.509.",
            _Reasons.UNSUPPORTED_X509
        ) 
开发者ID:yuxiaokui,项目名称:Intranet-Penetration,代码行数:12,代码来源:multibackend.py

示例13: load_der_x509_certificate

# 需要导入模块: from cryptography.exceptions import _Reasons [as 别名]
# 或者: from cryptography.exceptions._Reasons import UNSUPPORTED_X509 [as 别名]
def load_der_x509_certificate(self, data):
        for b in self._filtered_backends(
            X509Backend
        ):
            return b.load_der_x509_certificate(data)

        raise UnsupportedAlgorithm(
            "This backend does not support X.509.",
            _Reasons.UNSUPPORTED_X509
        ) 
开发者ID:yuxiaokui,项目名称:Intranet-Penetration,代码行数:12,代码来源:multibackend.py


注:本文中的cryptography.exceptions._Reasons.UNSUPPORTED_X509属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。