Class ASN1GeneralizedTimeBC

    • Constructor Detail

      • ASN1GeneralizedTimeBC

        public ASN1GeneralizedTimeBC​(org.bouncycastle.asn1.ASN1GeneralizedTime asn1GeneralizedTime)
        Creates new wrapper instance for ASN1GeneralizedTime.
        Parameters:
        asn1GeneralizedTime - ASN1GeneralizedTime to be wrapped
    • Method Detail

      • getASN1GeneralizedTime

        public org.bouncycastle.asn1.ASN1GeneralizedTime getASN1GeneralizedTime()
        Gets actual org.bouncycastle object being wrapped.
        Returns:
        wrapped ASN1GeneralizedTime.
      • getDate

        public java.util.Date getDate()
                               throws java.text.ParseException
        Calls actual getDate method for the wrapped ASN1GeneralizedTime object.
        Specified by:
        getDate in interface IASN1GeneralizedTime
        Returns:
        Date date stored in the wrapped ASN1GeneralizedTime.
        Throws:
        java.text.ParseException - in case of some parsing error.