Interface ASN1PublicKeyReader

All Known Implementing Classes:
DerStringReader, PemClasspathReaderAndWriter

public interface ASN1PublicKeyReader
ASN1PublicKeyReader 接口定义了从 ASN.1 格式读取公钥的方法。 实现此接口的类负责解析 ASN.1 编码的公钥数据。
Author:
xezzon
  • Method Summary

    Modifier and Type
    Method
    Description
    读取公钥形式的 ASN.1 数据。
  • Method Details

    • readPublicKey

      Object readPublicKey() throws IOException
      读取公钥形式的 ASN.1 数据。
      Returns:
      表示公钥的 ASN.1 对象。
      Throws:
      IOException - 如果在读取或解析公钥时发生 I/O 错误。