Package sop.operation

Interface ExtractCert


  • public interface ExtractCert
    • Method Detail

      • noArmor

        ExtractCert noArmor()
        Disable ASCII armor encoding.
        Returns:
        builder instance
      • key

        Ready key​(java.io.InputStream keyInputStream)
           throws java.io.IOException,
                  SOPGPException.BadData
        Extract the cert from the provided key.
        Parameters:
        keyInputStream - input stream containing the encoding of an OpenPGP key
        Returns:
        result containing the encoding of the keys cert
        Throws:
        java.io.IOException
        SOPGPException.BadData
      • key

        default Ready key​(byte[] key)
                   throws java.io.IOException,
                          SOPGPException.BadData
        Extract the cert from the provided key.
        Parameters:
        key - byte array containing the encoding of an OpenPGP key
        Returns:
        result containing the encoding of the keys cert
        Throws:
        java.io.IOException
        SOPGPException.BadData