---
title: InfoPlistHash
framework: lightweightcoderequirements
role: symbol
role_heading: Structure
path: lightweightcoderequirements/infoplisthash
---

# InfoPlistHash

A constraint that tests the specified hash against the Information property list hash stored in the code signature of the process or code file.

## Declaration

```swift
struct InfoPlistHash
```

## Topics

### Initializers

- [init(_:)](lightweightcoderequirements/infoplisthash/init(_:).md)
- [init(from:)](lightweightcoderequirements/infoplisthash/init(from:).md)

### Instance Methods

- [encode(to:)](lightweightcoderequirements/infoplisthash/encode(to:).md)

### Type Aliases

- [InfoPlistHash.DataType](lightweightcoderequirements/infoplisthash/datatype.md)
- [InfoPlistHash.OutType](lightweightcoderequirements/infoplisthash/outtype.md)

### Type Methods

- [in(_:)](lightweightcoderequirements/infoplisthash/in(_:)-18amo.md)
- [in(_:)](lightweightcoderequirements/infoplisthash/in(_:)-1rwy8.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [LaunchConstraint](lightweightcoderequirements/launchconstraint.md)
- [OnDiskConstraint](lightweightcoderequirements/ondiskconstraint.md)
- [ProcessConstraint](lightweightcoderequirements/processconstraint.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Testing properties of executable code

- [CodeDirectoryHash](lightweightcoderequirements/codedirectoryhash.md)
- [EntitlementsQuery](lightweightcoderequirements/entitlementsquery.md)
- [IsInitProcess](lightweightcoderequirements/isinitprocess.md)
- [IsMainBinary](lightweightcoderequirements/ismainbinary.md)
- [IsSIPProtected](lightweightcoderequirements/issipprotected.md)
- [PlatformType](lightweightcoderequirements/platformtype.md)
- [SigningIdentifier](lightweightcoderequirements/signingidentifier.md)
- [TeamIdentifier](lightweightcoderequirements/teamidentifier.md)
- [ValidationCategory](lightweightcoderequirements/validationcategory.md)
