Class TSTInfoBC

    • Constructor Detail

      • TSTInfoBC

        public TSTInfoBC​(org.bouncycastle.asn1.tsp.TSTInfo tstInfo)
        Creates new wrapper instance for TSTInfo.
        Parameters:
        tstInfo - TSTInfo to be wrapped
    • Method Detail

      • getTstInfo

        public org.bouncycastle.asn1.tsp.TSTInfo getTstInfo()
        Gets actual org.bouncycastle object being wrapped.
        Returns:
        wrapped TSTInfo.
      • getGenTime

        public java.util.Date getGenTime()
                                  throws java.text.ParseException
        Calls actual getGenTime method for the wrapped TSTInfo object and gets date.
        Specified by:
        getGenTime in interface ITSTInfo
        Returns:
        the received Date object.
        Throws:
        java.text.ParseException - when parsing cannot be completed.