# `Pkcs11ex.XML`
[🔗](https://github.com/utaladriz/pkcs11ex/blob/v0.1.0/lib/pkcs11ex/xml.ex#L1)

Convenience wrapper around `SignCore.XML` pre-configured with the
PKCS#11 signer. Same shape as `Pkcs11ex.PDF`.

# `sign`

```elixir
@spec sign(
  binary() | iodata(),
  keyword()
) :: {:ok, binary()} | {:error, term()}
```

XAdES B-B / B-T sign via the configured PKCS#11 slot.

# `verify`

```elixir
@spec verify(
  binary() | iodata(),
  keyword()
) :: {:ok, term()} | {:error, term()}
```

XAdES verify. Delegates to `SignCore.XML.verify/2`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
