Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
rfc8619.py46 linesDownload Raw Back to pyasn1_modules
1#2# This file is part of pyasn1-modules software.3#4# Created by Russ Housley.5#6# Copyright (c) 2019, Vigil Security, LLC7# License: http://snmplabs.com/pyasn1/license.html8#9# Algorithm Identifiers for HKDF10#11# ASN.1 source from:12# https://www.rfc-editor.org/rfc/rfc8619.txt13#14 15from pyasn1.type import univ16 17from pyasn1_modules import rfc528018 19 20# Object Identifiers21 22id_alg_hkdf_with_sha256 = univ.ObjectIdentifier('1.2.840.113549.1.9.16.3.28')23 24 25id_alg_hkdf_with_sha384 = univ.ObjectIdentifier('1.2.840.113549.1.9.16.3.29')26 27 28id_alg_hkdf_with_sha512 = univ.ObjectIdentifier('1.2.840.113549.1.9.16.3.30')29 30 31# Key Derivation Algorithm Identifiers32 33kda_hkdf_with_sha256 = rfc5280.AlgorithmIdentifier()34kda_hkdf_with_sha256['algorithm'] = id_alg_hkdf_with_sha25635# kda_hkdf_with_sha256['parameters'] are absent36 37 38kda_hkdf_with_sha384 = rfc5280.AlgorithmIdentifier()39kda_hkdf_with_sha384['algorithm'] = id_alg_hkdf_with_sha38440# kda_hkdf_with_sha384['parameters'] are absent41 42 43kda_hkdf_with_sha512 = rfc5280.AlgorithmIdentifier()44kda_hkdf_with_sha512['algorithm'] = id_alg_hkdf_with_sha51245# kda_hkdf_with_sha512['parameters'] are absent46 
codekingpro/portable-devtools · Team Ai