---
title: pinLengthBitSize
framework: cryptotokenkit
role: symbol
role_heading: Instance Property
path: cryptotokenkit/tksmartcardpinformat/pinlengthbitsize
---

# pinLengthBitSize

The size, in bits, of the PIN length field. If set to 0, PIN length is not written. 0 by default.

## Declaration

```swift
var pinLengthBitSize: Int { get set }
```

## See Also

### Configuring PIN Formatting

- [charset](cryptotokenkit/tksmartcardpinformat/charset-swift.property.md)
- [encoding](cryptotokenkit/tksmartcardpinformat/encoding-swift.property.md)
- [minPINLength](cryptotokenkit/tksmartcardpinformat/minpinlength.md)
- [maxPINLength](cryptotokenkit/tksmartcardpinformat/maxpinlength.md)
- [pinBlockByteLength](cryptotokenkit/tksmartcardpinformat/pinblockbytelength.md)
- [pinJustification](cryptotokenkit/tksmartcardpinformat/pinjustification.md)
- [pinBitOffset](cryptotokenkit/tksmartcardpinformat/pinbitoffset.md)
- [pinLengthBitOffset](cryptotokenkit/tksmartcardpinformat/pinlengthbitoffset.md)
