auth_data.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:srepp_server 作者: SummitRoute 项目源码 文件源码
def _ParseTimestamp(self, time_asn1):
    # Parses countersignature timestamp according to RFC3280, section 4.1.2.5+
    timestamp_choice, rest = decoder.decode(time_asn1,
                                            asn1Spec=pkcs7.SigningTime())
    if rest: raise Asn1Error('Extra unparsed content.')
    return timestamp_choice.ToPythonEpochTime()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号