':py:obj:`NetscapeSPKI.b64_encode` encodes the certificate to a base64 blob.'

def test_b64_encode(self):

    nspki = NetscapeSPKI()
    blob = nspki.b64_encode()
    self.assertTrue(isinstance(blob, binary_type))
