MCPcopy Create free account
hub / github.com/KmBase/ScienceReading / DerBitString

Class DerBitString

embedded/site-packages/Crypto/Util/asn1.py:826–912  ·  view source on GitHub ↗

Class to model a DER BIT STRING. An example of encoding is: >>> from Crypto.Util.asn1 import DerBitString >>> bs_der = DerBitString(b'\\xAA') >>> bs_der.value += b'\\xBB' >>> print(bs_der.encode().hex()) which will show ``030300aabb``, the DER encoding for the bit string

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

_import_rfc5915_derFunction · 0.90
testInit1Method · 0.90
testInit2Method · 0.90
testEncode1Method · 0.90
testDecode1Method · 0.90
testDecode2Method · 0.90

Calls

no outgoing calls

Tested by 6

testInit1Method · 0.72
testInit2Method · 0.72
testEncode1Method · 0.72
testDecode1Method · 0.72
testDecode2Method · 0.72