Interface ASN1PublicKeyWriter

All Known Implementing Classes:
PemClasspathReaderAndWriter

public interface ASN1PublicKeyWriter
用于定义将 ASN.1 编码的公钥写入的契约。
Author:
xezzon
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    writePublicKey(byte[] publicKey)
    将 ASN.1 形式的公钥写入。
  • Method Details

    • writePublicKey

      void writePublicKey(byte[] publicKey) throws IOException
      将 ASN.1 形式的公钥写入。
      Parameters:
      publicKey - ASN.1 编码的公钥字节数组。
      Throws:
      IOException - 如果在写入过程中发生 I/O 错误。