Return embded :class:`Certificate` number ``index``. .. note:: Not all embded certificate are directly used to sign the :class:`CryptObject`.
(self, index=0)
| 46 | return self.get_param(gdef.CMSG_CERT_PARAM, index) |
| 47 | |
| 48 | def get_cert(self, index=0): |
| 49 | """Return embded :class:`Certificate` number ``index``. |
| 50 | |
| 51 | .. note:: |
| 52 | |
| 53 | Not all embded certificate are directly used to sign the :class:`CryptObject`. |
| 54 | """ |
| 55 | return windows.crypto.Certificate.from_buffer(self.get_raw_cert(index)) |
| 56 | |
| 57 | @property |
| 58 | def certs(self): |
no test coverage detected