Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
rfc3560.py75 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# RSAES-OAEP Key Transport Algorithm in CMS10#11# Notice that all of the things needed in RFC 3560 are also defined12# in RFC 4055.  So, they are all pulled from the RFC 4055 module into13# this one so that people looking a RFC 3560 can easily find them.14#15# ASN.1 source from:16# https://www.rfc-editor.org/rfc/rfc3560.txt17#18 19from pyasn1_modules import rfc405520 21id_sha1 = rfc4055.id_sha122 23id_sha256 = rfc4055.id_sha25624 25id_sha384 = rfc4055.id_sha38426 27id_sha512 = rfc4055.id_sha51228 29id_mgf1 = rfc4055.id_mgf130 31rsaEncryption = rfc4055.rsaEncryption32 33id_RSAES_OAEP = rfc4055.id_RSAES_OAEP34 35id_pSpecified = rfc4055.id_pSpecified36 37sha1Identifier = rfc4055.sha1Identifier38 39sha256Identifier = rfc4055.sha256Identifier40 41sha384Identifier = rfc4055.sha384Identifier42 43sha512Identifier = rfc4055.sha512Identifier44 45mgf1SHA1Identifier = rfc4055.mgf1SHA1Identifier46 47mgf1SHA256Identifier = rfc4055.mgf1SHA256Identifier48 49mgf1SHA384Identifier = rfc4055.mgf1SHA384Identifier50 51mgf1SHA512Identifier = rfc4055.mgf1SHA512Identifier52 53pSpecifiedEmptyIdentifier = rfc4055.pSpecifiedEmptyIdentifier54 55 56class RSAES_OAEP_params(rfc4055.RSAES_OAEP_params):57    pass58 59 60rSAES_OAEP_Default_Params = RSAES_OAEP_params()61 62rSAES_OAEP_Default_Identifier = rfc4055.rSAES_OAEP_Default_Identifier63 64rSAES_OAEP_SHA256_Params = rfc4055.rSAES_OAEP_SHA256_Params65 66rSAES_OAEP_SHA256_Identifier = rfc4055.rSAES_OAEP_SHA256_Identifier67 68rSAES_OAEP_SHA384_Params = rfc4055.rSAES_OAEP_SHA384_Params69 70rSAES_OAEP_SHA384_Identifier = rfc4055.rSAES_OAEP_SHA384_Identifier71 72rSAES_OAEP_SHA512_Params = rfc4055.rSAES_OAEP_SHA512_Params73 74rSAES_OAEP_SHA512_Identifier = rfc4055.rSAES_OAEP_SHA512_Identifier75 
codekingpro/portable-devtools · Team Ai