declare namespace java {
    namespace security {
        namespace cert {
            namespace Certificate {
                // @ts-ignore
                protected class CertificateRep extends java.lang.Object {
                    /**
                     * Construct the alternate Certificate class with the Certificate
                     * type and Certificate encoding bytes.
                     * <p>
                     */
                    // @ts-ignore
                    constructor(type: string, data: number)
                    /**
                     * Resolve the Certificate Object.
                     * <p>
                     */
                    // @ts-ignore
                    protected readResolve(): java.lang.Object;
                }
            }
        }
    }
}
