Class CertificateURL


  • public class CertificateURL
    extends java.lang.Object
    • Field Detail

      • type

        protected short type
      • urlAndHashList

        protected java.util.Vector urlAndHashList
    • Constructor Detail

      • CertificateURL

        public CertificateURL​(short type,
                              java.util.Vector urlAndHashList)
        Parameters:
        type - see CertChainType for valid constants.
        urlAndHashList - a Vector of URLAndHash.
    • Method Detail

      • getURLAndHashList

        public java.util.Vector getURLAndHashList()
        Returns:
        a Vector of URLAndHash
      • encode

        public void encode​(java.io.OutputStream output)
                    throws java.io.IOException
        Encode this CertificateURL to an OutputStream.
        Parameters:
        output - the OutputStream to encode to.
        Throws:
        java.io.IOException
      • parse

        public static CertificateURL parse​(TlsContext context,
                                           java.io.InputStream input)
                                    throws java.io.IOException
        Parse a CertificateURL from an InputStream.
        Parameters:
        context - the TlsContext of the current connection.
        input - the InputStream to parse from.
        Returns:
        a CertificateURL object.
        Throws:
        java.io.IOException