Typedefs | Functions
dgnsignature.h File Reference
#include "mstypes.h"
#include "mselems.h"
#include <RmgrTools\Tools\Dsig.h>

Go to the source code of this file.

Typedefs

typedef int(* DgnSignatureScanCallback )(DgnModelRefP modelRef, ElementRefP sigel, const DsigDigitalSignature *dsig, CallbackArgP callbackArg)
 Callback for scanning digital signatures. More...
 

Functions

ElementRefP dgnDigitalSignature_addFileSignatureElement (DgnFileP file)
 Creates a cell element that can be used to to create a digital signature with file scope. More...
 
StatusInt dgnDigitalSignature_create (ElementRefP *refP, const DsigCertificate *certcc, const WChar *name, const WChar *purpose, const WChar *location, double expiry, int __reserved1, ElementRefP *prereqs, UInt16 nprereqs, UInt32 scope)
 Converts a cell element into a digital signature. More...
 
StatusInt dgnDigitalSignature_extractFromElementEx (DsigDigitalSignature *sig, ULong32 *sigsz, bool *expired, MSElementCP el, ULong32 maxsz)
 Query the digital signature data associated with the specified element. More...
 
StatusInt dgnDigitalSignature_extractEx (DsigDigitalSignature *sig, ULong32 *sigsz, bool *expired, ElementRefP ref, ULong32 maxsz)
 Query the digital signature data associated with the specified element. More...
 
Public StatusInt dgnDigitalSignature_getPrerequisitesFromElement (ElementRefP *prereqs, UInt16 *nprereqs, DgnModelRefP modelref, MSElementCP sigel)
 Query the signatures on which this signature depends. More...
 
StatusInt dgnDigitalSignature_getPrerequisites (ElementRefP *prereqs, UInt16 *nprereqs, ElementRefP sigel)
 Query the signatures on which this signature depends. More...
 
StatusInt dgnDigitalSignature_verifyFromElement (DgnModelP cache, MSElementDescrCP sigel)
 Verify a digital signature. More...
 
StatusInt dgnDigitalSignature_verify (ElementRefP ref)
 Verify a digital signature. More...
 
DONTINCLUDEINDOC bool dgnDigitalSignature_isSigner (ElementRefP sigel)
 Query if the currently logged in user owns the certificate that was used to create this digital signature. More...
 
StatusInt dgnDigitalSignature_scanModelSignatures (DgnModelRefP modelRef, DgnSignatureScanCallback callbackFunc, CallbackArgP callbackArg)
 Detect all model signatures in the specified model. More...
 
StatusInt dgnDigitalSignature_scanFileSignatures (DgnFileP file, DgnSignatureScanCallback callbackFunc, CallbackArgP callbackArg)
 Detect all file signatures in the specified file. More...
 
StatusInt dgnDigitalSignature_scanApplicableSignatures (DgnModelRefP rootmodel, DgnSignatureScanCallback callbackFunc, CallbackArgP callbackArg)
 Detect all model signatures in the specified model, all file signatures in the file containing the model, and apply recursively to all references attached to this model. More...
 
bool dgnDigitalSignature_areAllApplicableSignaturesVerified (UInt32 *trustproblems, DgnModelRefP rootmodel)
 Query if all applicable signatures are verified. More...
 
bool dgnDigitalSignature_areAllApplicableSignaturesVerifiedEx (size_t *signatureCount, UInt32 *trustproblems, DgnModelRefP model)
 Query if all applicable signatures are verified. More...
 

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.