Class PackageManifest
Namespace: Cephalon.Engine.Manifest
Assembly: Cephalon.Engine.dll
Describes a package that contributed one or more modules to the built runtime.
public sealed class PackageManifestInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”PackageManifest(string, string, string, string, string, string, IReadOnlyList<string>, string?, string?, string?, IReadOnlyList<string>?, string?, string?, string?, PackageDistributionManifest?, PackageProvenanceManifest?, string?, string?, string?, string?, string?, string?, IReadOnlyList<PackageSignatureManifest>?, bool, string, string, bool, string)
Section titled “ PackageManifest(string, string, string, string, string, string, IReadOnlyList<string>, string?, string?, string?, IReadOnlyList<string>?, string?, string?, string?, PackageDistributionManifest?, PackageProvenanceManifest?, string?, string?, string?, string?, string?, string?, IReadOnlyList<PackageSignatureManifest>?, bool, string, string, bool, string)”Creates a new package manifest entry.
public PackageManifest(string id, string kind, string assemblyName, string path, string sourcePath, string loadContext, IReadOnlyList<string> modules, string? version, string? minimumEngineVersion, string? maximumEngineVersion, IReadOnlyList<string>? supportedTargetFrameworks, string? publisherId, string? publisherDisplayName, string? publisherWebsite, PackageDistributionManifest? distribution, PackageProvenanceManifest? provenance, string? signatureType, string? signatureSigner, string? signatureKeyId, string? signatureFingerprint, string? signatureCertificateThumbprint, string? signatureAlgorithm, IReadOnlyList<PackageSignatureManifest>? signatures, bool isSignatureVerified, string signatureVerificationReason, string checksumSha256, bool isTrusted, string trustReason)Parameters
Section titled “Parameters”id string
The stable package identifier.
kind string
The discovery kind used to resolve the package.
assemblyName string
The loaded package assembly name.
path string
The resolved assembly path that was loaded.
sourcePath string
The original source path that led to the package load.
loadContext string
The assembly load context name used for the package.
modules IReadOnlyList<string>
The identifiers of modules contributed by the package.
version string?
The package version declared by the package manifest, when available.
minimumEngineVersion string?
The minimum supported engine version declared by the package manifest, when available.
maximumEngineVersion string?
The maximum supported engine version declared by the package manifest, when available.
supportedTargetFrameworks IReadOnlyList<string>?
The supported target frameworks declared by the package manifest.
publisherId string?
The stable publisher identifier declared by the package manifest, when available.
publisherDisplayName string?
The publisher display name declared by the package manifest, when available.
publisherWebsite string?
The publisher website declared by the package manifest, when available.
distribution PackageDistributionManifest?
The external distribution metadata declared by the package manifest, when available.
provenance PackageProvenanceManifest?
The provenance metadata declared by the package manifest, when available.
signatureType string?
The signature metadata type declared by the package manifest, when available.
signatureSigner string?
The signer identity declared by the package manifest, when available.
signatureKeyId string?
The trusted-key identifier declared by the package manifest, when available.
signatureFingerprint string?
The signer fingerprint declared by the package manifest, when available.
signatureCertificateThumbprint string?
The primary signing certificate thumbprint used during verification, when certificate-backed trust was used.
signatureAlgorithm string?
The signature algorithm declared by the package manifest, when available.
signatures IReadOnlyList<PackageSignatureManifest>?
The declared package signatures and their individual verification outcomes.
isSignatureVerified bool
Whether the package signature was cryptographically verified against a trusted public key or signing certificate.
signatureVerificationReason string
The verification outcome summary for the package signature.
checksumSha256 string
The computed SHA-256 checksum of the resolved package assembly.
isTrusted bool
Whether the package is trusted by the current trust policy.
trustReason string
The reason the package is trusted or not trusted.
Properties
Section titled “Properties”AssemblyName
Section titled “ AssemblyName”Gets the assembly name that was loaded for the package.
public string AssemblyName { get; }Property Value
Section titled “Property Value”ChecksumSha256
Section titled “ ChecksumSha256”Gets the computed SHA-256 checksum of the resolved package assembly.
public string ChecksumSha256 { get; }Property Value
Section titled “Property Value”Dependencies
Section titled “ Dependencies”Gets the package-to-package dependencies declared by the package manifest.
public IReadOnlyList<PackageDependencyManifest> Dependencies { get; init; }Property Value
Section titled “Property Value”IReadOnlyList<PackageDependencyManifest>
Distribution
Section titled “ Distribution”Gets the external distribution metadata declared by the package manifest, when available.
public PackageDistributionManifest? Distribution { get; }Property Value
Section titled “Property Value”Gets the stable package identifier.
public string Id { get; }Property Value
Section titled “Property Value”IsSignatureVerified
Section titled “ IsSignatureVerified”Gets a value indicating whether the package signature was cryptographically verified against a trusted signing identity.
public bool IsSignatureVerified { get; }Property Value
Section titled “Property Value”IsTrusted
Section titled “ IsTrusted”Gets a value indicating whether the package is trusted by the current trust policy.
public bool IsTrusted { get; }Property Value
Section titled “Property Value”Gets the package discovery kind, such as assembly path or manifest-file loading.
public string Kind { get; }Property Value
Section titled “Property Value”LoadContext
Section titled “ LoadContext”Gets the assembly load context name used for the package.
public string LoadContext { get; }Property Value
Section titled “Property Value”MaximumEngineVersion
Section titled “ MaximumEngineVersion”Gets the maximum engine version supported by the package manifest, when available.
public string? MaximumEngineVersion { get; }Property Value
Section titled “Property Value”MinimumEngineVersion
Section titled “ MinimumEngineVersion”Gets the minimum engine version required by the package manifest, when available.
public string? MinimumEngineVersion { get; }Property Value
Section titled “Property Value”Modules
Section titled “ Modules”Gets the identifiers of modules contributed by the package.
public IReadOnlyList<string> Modules { get; }Property Value
Section titled “Property Value”Gets the resolved assembly path that the engine loaded.
public string Path { get; }Property Value
Section titled “Property Value”Provenance
Section titled “ Provenance”Gets the provenance metadata declared by the package manifest, when available.
public PackageProvenanceManifest? Provenance { get; }Property Value
Section titled “Property Value”PublisherDisplayName
Section titled “ PublisherDisplayName”Gets the publisher display name declared by the package manifest, when available.
public string? PublisherDisplayName { get; }Property Value
Section titled “Property Value”PublisherId
Section titled “ PublisherId”Gets the stable publisher identifier declared by the package manifest, when available.
public string? PublisherId { get; }Property Value
Section titled “Property Value”PublisherWebsite
Section titled “ PublisherWebsite”Gets the publisher website declared by the package manifest, when available.
public string? PublisherWebsite { get; }Property Value
Section titled “Property Value”SignatureAlgorithm
Section titled “ SignatureAlgorithm”Gets the signature algorithm declared by the package manifest, when available.
public string? SignatureAlgorithm { get; }Property Value
Section titled “Property Value”SignatureCertificateThumbprint
Section titled “ SignatureCertificateThumbprint”Gets the primary signing certificate thumbprint used during verification, when certificate-backed trust was used.
public string? SignatureCertificateThumbprint { get; }Property Value
Section titled “Property Value”SignatureFingerprint
Section titled “ SignatureFingerprint”Gets the signer fingerprint declared by the package manifest, when available.
public string? SignatureFingerprint { get; }Property Value
Section titled “Property Value”SignatureKeyId
Section titled “ SignatureKeyId”Gets the trusted-key identifier declared by the package manifest, when available.
public string? SignatureKeyId { get; }Property Value
Section titled “Property Value”SignatureSigner
Section titled “ SignatureSigner”Gets the signer identity declared by the package manifest, when available.
public string? SignatureSigner { get; }Property Value
Section titled “Property Value”SignatureType
Section titled “ SignatureType”Gets the signature metadata type declared by the package manifest, when available.
public string? SignatureType { get; }Property Value
Section titled “Property Value”SignatureVerificationReason
Section titled “ SignatureVerificationReason”Gets the verification outcome summary for the package signature.
public string SignatureVerificationReason { get; }Property Value
Section titled “Property Value”Signatures
Section titled “ Signatures”Gets the declared package signatures and their individual verification outcomes.
public IReadOnlyList<PackageSignatureManifest> Signatures { get; }Property Value
Section titled “Property Value”IReadOnlyList<PackageSignatureManifest>
SourcePath
Section titled “ SourcePath”Gets the original source path used to discover the package.
public string SourcePath { get; }Property Value
Section titled “Property Value”SupportedTargetFrameworks
Section titled “ SupportedTargetFrameworks”Gets the target frameworks declared as compatible by the package manifest.
public IReadOnlyList<string> SupportedTargetFrameworks { get; }Property Value
Section titled “Property Value”TrustReason
Section titled “ TrustReason”Gets the reason the package is trusted or not trusted by the current trust policy.
public string TrustReason { get; }Property Value
Section titled “Property Value”Version
Section titled “ Version”Gets the package version declared by the package manifest, when available.
public string? Version { get; }