Code example for Date

Methods: after, before

0
    public boolean[] getIssuerUniqueID() 
    { 
        DERBitString    id = cert.getAcinfo().getIssuerUniqueID();
 
        if (id != null)
        { 
            byte[]          bytes = id.getBytes();
            boolean[]       boolId = new boolean[bytes.length * 8 - id.getPadBits()];
 
            for (int i = 0; i != boolId.length; i++)
            { 
                boolId[i] = (bytes[i / 8] & (0x80 >>> (i % 8))) != 0;
            } 
 
            return boolId;
        } 
             
        return null; 
    } 
     
    public void checkValidity()  
        throws CertificateExpiredException, CertificateNotYetValidException 
    {