#NEWLINE# def get_pubkey( self ) : #NEWLINE# #INDENT# '\n        Get the public key of the certificate\n\n        :return: The public key\n        ' #NEWLINE# pkey = PKey . __new__ ( PKey ) #NEWLINE# pkey . _pkey = _lib . NETSCAPE_SPKI_get_pubkey ( self . _spki ) #NEWLINE# if ( pkey . _pkey == _ffi . NULL ) : #NEWLINE# #INDENT# _raise_current_error ( ) #NEWLINE# #UNINDENT# pkey . _pkey = _ffi . gc ( pkey . _pkey , _lib . EVP_PKEY_free ) #NEWLINE# pkey . _only_public = True #NEWLINE# return pkey