Class CertificateContext

    • Constructor Detail

      • CertificateContext

        public CertificateContext()
        Constructor.
    • Method Detail

      • getCertificate

        @Nullable
        public Certificate getCertificate()
        Get the certificate to be validated.
        Returns:
        the certificate to be validated
      • setCertificate

        @Nonnull
        public CertificateContext setCertificate​(@Nullable
                                                 Certificate cert)
        Set the certificate to be validated.
        Parameters:
        cert - certificate to be validated
        Returns:
        this context
      • getIntermediates

        @Nonnull
        @NonnullElements
        @Live
        public Collection<Certificate> getIntermediates()
        Get any additional certificates accompanying the end-entity certificate.
        Returns:
        any additional certificates