The FMPDSS.Certificate.Builder class is a builder for the FMPDSS.Certificate class.
class Builder
Method | Description |
id(_:) |
Save certificate identifier to variable. func id(_ id: String) -> Builder Parameters:
|
pin(_:) | Save certificate PIN to variable. func pin(_ pin: String) -> Builder Parameters:
|
build() | Build an instance of the FMPDSS.Certificate class. It returns the object of the FMPDSS.Certificate type. func build() -> FMPDSS.Certificate |
Build an instance of the FMPDSS.Certificate class:
// Build an instance of the FMPDSS.Certificate class with various settings
let certificate: FMPDSS.Certificate = fmp.certificate
.id("id") // By default ""
.pin("pin") // By default nil
.build()
See also: