Python pyasn1.codec.ber.encoder.Encoder() Examples

The following are 14 code examples of pyasn1.codec.ber.encoder.Encoder(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module pyasn1.codec.ber.encoder , or try the search function .
Example #1
Source File: encoder.py    From oss-ftp with MIT License 5 votes vote down vote up
def __call__(self, client, defMode=False, maxChunkSize=0):
        return encoder.Encoder.__call__(self, client, defMode, maxChunkSize) 
Example #2
Source File: encoder.py    From Safejumper-for-Desktop with GNU General Public License v2.0 5 votes vote down vote up
def __call__(self, client, defMode=False, maxChunkSize=0):
        return encoder.Encoder.__call__(self, client, defMode, maxChunkSize)


#: Turns ASN.1 object into CER octet stream.
#:
#: Takes any ASN.1 object (e.g. :py:class:`~pyasn1.type.base.PyAsn1Item` derivative)
#: walks all its components recursively and produces a CER octet stream.
#:
#: Parameters
#: ----------
#  value: any pyasn1 object (e.g. :py:class:`~pyasn1.type.base.PyAsn1Item` derivative)
#:     A pyasn1 object to encode
#:
#: defMode: :py:class:`bool`
#:     If `False`, produces indefinite length encoding
#:
#: maxChunkSize: :py:class:`int`
#:     Maximum chunk size in chunked encoding mode (0 denotes unlimited chunk size)
#:
#: Returns
#: -------
#: : :py:class:`bytes` (Python 3) or :py:class:`str` (Python 2)
#:     Given ASN.1 object encoded into BER octetstream
#:
#: Raises
#: ------
#: : :py:class:`pyasn1.error.PyAsn1Error`
#:     On encoding errors 
Example #3
Source File: encoder.py    From nzb-subliminal with GNU General Public License v3.0 5 votes vote down vote up
def __call__(self, client, defMode=0, maxChunkSize=0):
        return encoder.Encoder.__call__(self, client, defMode, maxChunkSize) 
Example #4
Source File: encoder.py    From aqua-monitor with GNU Lesser General Public License v3.0 5 votes vote down vote up
def __call__(self, client, defMode=False, maxChunkSize=0):
        return encoder.Encoder.__call__(self, client, defMode, maxChunkSize) 
Example #5
Source File: encoder.py    From baidupan_shell with GNU General Public License v2.0 5 votes vote down vote up
def __call__(self, client, defMode=0, maxChunkSize=0):
        return encoder.Encoder.__call__(self, client, defMode, maxChunkSize) 
Example #6
Source File: encoder.py    From scalyr-agent-2 with Apache License 2.0 5 votes vote down vote up
def __call__(self, client, defMode=False, maxChunkSize=0):
        return encoder.Encoder.__call__(self, client, defMode, maxChunkSize) 
Example #7
Source File: encoder.py    From addon with GNU General Public License v3.0 5 votes vote down vote up
def __call__(self, client, defMode=False, maxChunkSize=0):
        return encoder.Encoder.__call__(self, client, defMode, maxChunkSize) 
Example #8
Source File: encoder.py    From xbmc-addons-chinese with GNU General Public License v2.0 5 votes vote down vote up
def __call__(self, client, defMode=0, maxChunkSize=0):
        return encoder.Encoder.__call__(self, client, defMode, maxChunkSize) 
Example #9
Source File: encoder.py    From xbmc-addons-chinese with GNU General Public License v2.0 5 votes vote down vote up
def __call__(self, client, defMode=False, maxChunkSize=0):
        return encoder.Encoder.__call__(self, client, defMode, maxChunkSize) 
Example #10
Source File: encoder.py    From opsbro with MIT License 5 votes vote down vote up
def __call__(self, client, defMode=0, maxChunkSize=0):
        return encoder.Encoder.__call__(self, client, defMode, maxChunkSize) 
Example #11
Source File: encoder.py    From plugin.video.bdyun with GNU General Public License v3.0 5 votes vote down vote up
def __call__(self, client, defMode=False, maxChunkSize=0):
        return encoder.Encoder.__call__(self, client, defMode, maxChunkSize) 
Example #12
Source File: encoder.py    From pelisalacarta-ce with GNU General Public License v3.0 5 votes vote down vote up
def __call__(self, client, defMode=False, maxChunkSize=0):
        return encoder.Encoder.__call__(self, client, defMode, maxChunkSize) 
Example #13
Source File: encoder.py    From xunfengES with GNU General Public License v3.0 5 votes vote down vote up
def __call__(self, client, defMode=False, maxChunkSize=0):
        return encoder.Encoder.__call__(self, client, defMode, maxChunkSize) 
Example #14
Source File: encoder.py    From xunfengES with GNU General Public License v3.0 5 votes vote down vote up
def __call__(self, client, defMode=False, maxChunkSize=0):
        return encoder.Encoder.__call__(self, client, defMode, maxChunkSize)