windows::Win32::System::ClrHosting

Trait ICLRStrongName_Impl

pub trait ICLRStrongName_Impl: IUnknownImpl {
Show 25 methods // Required methods fn GetHashFromAssemblyFile( &self, pszfilepath: &PCSTR, pihashalg: *mut u32, pbhash: *mut u8, cchhash: u32, pchhash: *mut u32, ) -> Result<()>; fn GetHashFromAssemblyFileW( &self, pwzfilepath: &PCWSTR, pihashalg: *mut u32, pbhash: *mut u8, cchhash: u32, pchhash: *mut u32, ) -> Result<()>; fn GetHashFromBlob( &self, pbblob: *const u8, cchblob: u32, pihashalg: *mut u32, pbhash: *mut u8, cchhash: u32, pchhash: *mut u32, ) -> Result<()>; fn GetHashFromFile( &self, pszfilepath: &PCSTR, pihashalg: *mut u32, pbhash: *mut u8, cchhash: u32, pchhash: *mut u32, ) -> Result<()>; fn GetHashFromFileW( &self, pwzfilepath: &PCWSTR, pihashalg: *mut u32, pbhash: *mut u8, cchhash: u32, pchhash: *mut u32, ) -> Result<()>; fn GetHashFromHandle( &self, hfile: HANDLE, pihashalg: *mut u32, pbhash: *mut u8, cchhash: u32, pchhash: *mut u32, ) -> Result<()>; fn StrongNameCompareAssemblies( &self, pwzassembly1: &PCWSTR, pwzassembly2: &PCWSTR, ) -> Result<u32>; fn StrongNameFreeBuffer(&self, pbmemory: *const u8) -> Result<()>; fn StrongNameGetBlob( &self, pwzfilepath: &PCWSTR, pbblob: *mut u8, pcbblob: *mut u32, ) -> Result<()>; fn StrongNameGetBlobFromImage( &self, pbbase: *const u8, dwlength: u32, pbblob: *mut u8, pcbblob: *mut u32, ) -> Result<()>; fn StrongNameGetPublicKey( &self, pwzkeycontainer: &PCWSTR, pbkeyblob: *const u8, cbkeyblob: u32, ppbpublickeyblob: *mut *mut u8, pcbpublickeyblob: *mut u32, ) -> Result<()>; fn StrongNameHashSize(&self, ulhashalg: u32) -> Result<u32>; fn StrongNameKeyDelete(&self, pwzkeycontainer: &PCWSTR) -> Result<()>; fn StrongNameKeyGen( &self, pwzkeycontainer: &PCWSTR, dwflags: u32, ppbkeyblob: *mut *mut u8, pcbkeyblob: *mut u32, ) -> Result<()>; fn StrongNameKeyGenEx( &self, pwzkeycontainer: &PCWSTR, dwflags: u32, dwkeysize: u32, ppbkeyblob: *mut *mut u8, pcbkeyblob: *mut u32, ) -> Result<()>; fn StrongNameKeyInstall( &self, pwzkeycontainer: &PCWSTR, pbkeyblob: *const u8, cbkeyblob: u32, ) -> Result<()>; fn StrongNameSignatureGeneration( &self, pwzfilepath: &PCWSTR, pwzkeycontainer: &PCWSTR, pbkeyblob: *const u8, cbkeyblob: u32, ppbsignatureblob: *mut *mut u8, pcbsignatureblob: *mut u32, ) -> Result<()>; fn StrongNameSignatureGenerationEx( &self, wszfilepath: &PCWSTR, wszkeycontainer: &PCWSTR, pbkeyblob: *const u8, cbkeyblob: u32, ppbsignatureblob: *mut *mut u8, pcbsignatureblob: *mut u32, dwflags: u32, ) -> Result<()>; fn StrongNameSignatureSize( &self, pbpublickeyblob: *const u8, cbpublickeyblob: u32, pcbsize: *const u32, ) -> Result<()>; fn StrongNameSignatureVerification( &self, pwzfilepath: &PCWSTR, dwinflags: u32, ) -> Result<u32>; fn StrongNameSignatureVerificationEx( &self, pwzfilepath: &PCWSTR, fforceverification: bool, ) -> Result<u8>; fn StrongNameSignatureVerificationFromImage( &self, pbbase: *const u8, dwlength: u32, dwinflags: u32, ) -> Result<u32>; fn StrongNameTokenFromAssembly( &self, pwzfilepath: &PCWSTR, ppbstrongnametoken: *mut *mut u8, pcbstrongnametoken: *mut u32, ) -> Result<()>; fn StrongNameTokenFromAssemblyEx( &self, pwzfilepath: &PCWSTR, ppbstrongnametoken: *mut *mut u8, pcbstrongnametoken: *mut u32, ppbpublickeyblob: *mut *mut u8, pcbpublickeyblob: *mut u32, ) -> Result<()>; fn StrongNameTokenFromPublicKey( &self, pbpublickeyblob: *const u8, cbpublickeyblob: u32, ppbstrongnametoken: *mut *mut u8, pcbstrongnametoken: *mut u32, ) -> Result<()>;
}

Required Methods§

fn GetHashFromAssemblyFile( &self, pszfilepath: &PCSTR, pihashalg: *mut u32, pbhash: *mut u8, cchhash: u32, pchhash: *mut u32, ) -> Result<()>

fn GetHashFromAssemblyFileW( &self, pwzfilepath: &PCWSTR, pihashalg: *mut u32, pbhash: *mut u8, cchhash: u32, pchhash: *mut u32, ) -> Result<()>

fn GetHashFromBlob( &self, pbblob: *const u8, cchblob: u32, pihashalg: *mut u32, pbhash: *mut u8, cchhash: u32, pchhash: *mut u32, ) -> Result<()>

fn GetHashFromFile( &self, pszfilepath: &PCSTR, pihashalg: *mut u32, pbhash: *mut u8, cchhash: u32, pchhash: *mut u32, ) -> Result<()>

fn GetHashFromFileW( &self, pwzfilepath: &PCWSTR, pihashalg: *mut u32, pbhash: *mut u8, cchhash: u32, pchhash: *mut u32, ) -> Result<()>

fn GetHashFromHandle( &self, hfile: HANDLE, pihashalg: *mut u32, pbhash: *mut u8, cchhash: u32, pchhash: *mut u32, ) -> Result<()>

fn StrongNameCompareAssemblies( &self, pwzassembly1: &PCWSTR, pwzassembly2: &PCWSTR, ) -> Result<u32>

fn StrongNameFreeBuffer(&self, pbmemory: *const u8) -> Result<()>

fn StrongNameGetBlob( &self, pwzfilepath: &PCWSTR, pbblob: *mut u8, pcbblob: *mut u32, ) -> Result<()>

fn StrongNameGetBlobFromImage( &self, pbbase: *const u8, dwlength: u32, pbblob: *mut u8, pcbblob: *mut u32, ) -> Result<()>

fn StrongNameGetPublicKey( &self, pwzkeycontainer: &PCWSTR, pbkeyblob: *const u8, cbkeyblob: u32, ppbpublickeyblob: *mut *mut u8, pcbpublickeyblob: *mut u32, ) -> Result<()>

fn StrongNameHashSize(&self, ulhashalg: u32) -> Result<u32>

fn StrongNameKeyDelete(&self, pwzkeycontainer: &PCWSTR) -> Result<()>

fn StrongNameKeyGen( &self, pwzkeycontainer: &PCWSTR, dwflags: u32, ppbkeyblob: *mut *mut u8, pcbkeyblob: *mut u32, ) -> Result<()>

fn StrongNameKeyGenEx( &self, pwzkeycontainer: &PCWSTR, dwflags: u32, dwkeysize: u32, ppbkeyblob: *mut *mut u8, pcbkeyblob: *mut u32, ) -> Result<()>

fn StrongNameKeyInstall( &self, pwzkeycontainer: &PCWSTR, pbkeyblob: *const u8, cbkeyblob: u32, ) -> Result<()>

fn StrongNameSignatureGeneration( &self, pwzfilepath: &PCWSTR, pwzkeycontainer: &PCWSTR, pbkeyblob: *const u8, cbkeyblob: u32, ppbsignatureblob: *mut *mut u8, pcbsignatureblob: *mut u32, ) -> Result<()>

fn StrongNameSignatureGenerationEx( &self, wszfilepath: &PCWSTR, wszkeycontainer: &PCWSTR, pbkeyblob: *const u8, cbkeyblob: u32, ppbsignatureblob: *mut *mut u8, pcbsignatureblob: *mut u32, dwflags: u32, ) -> Result<()>

fn StrongNameSignatureSize( &self, pbpublickeyblob: *const u8, cbpublickeyblob: u32, pcbsize: *const u32, ) -> Result<()>

fn StrongNameSignatureVerification( &self, pwzfilepath: &PCWSTR, dwinflags: u32, ) -> Result<u32>

fn StrongNameSignatureVerificationEx( &self, pwzfilepath: &PCWSTR, fforceverification: bool, ) -> Result<u8>

fn StrongNameSignatureVerificationFromImage( &self, pbbase: *const u8, dwlength: u32, dwinflags: u32, ) -> Result<u32>

fn StrongNameTokenFromAssembly( &self, pwzfilepath: &PCWSTR, ppbstrongnametoken: *mut *mut u8, pcbstrongnametoken: *mut u32, ) -> Result<()>

fn StrongNameTokenFromAssemblyEx( &self, pwzfilepath: &PCWSTR, ppbstrongnametoken: *mut *mut u8, pcbstrongnametoken: *mut u32, ppbpublickeyblob: *mut *mut u8, pcbpublickeyblob: *mut u32, ) -> Result<()>

fn StrongNameTokenFromPublicKey( &self, pbpublickeyblob: *const u8, cbpublickeyblob: u32, ppbstrongnametoken: *mut *mut u8, pcbstrongnametoken: *mut u32, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§