Interface CertificateFactory


  • @Role
    public interface CertificateFactory
    Component role for creating certificate instances from external sources.
    Since:
    5.4
    Version:
    $Id: c8a95d234b185ee885c1b5371e797efe2330bbad $
    • Method Detail

      • decode

        CertifiedPublicKey decode​(byte[] encoded)
                           throws IOException
        Decode an ASN.1 encoded certified public key.
        Parameters:
        encoded - a encoded certificate.
        Returns:
        a certified public key.
        Throws:
        IOException - on encoding error.