KeyParser (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.crypto

## Interface KeyParser

- All Known Implementing Classes:
    DHIESPublicKeyParser, ECIESPublicKeyParser, XIESPublicKeyParser

      public interface KeyParser

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `AsymmetricKeyParameter` | `readKey(java.io.InputStream stream)`

- - ### Method Detail

    - #### readKey

          AsymmetricKeyParameter readKey(java.io.InputStream stream)
                                  throws java.io.IOException

      Throws:
        `java.io.IOException`