public static Date addDays( int amount )
    {
        final Calendar instance = Calendar.getInstance();
        instance.add( Calendar.DATE, amount );
        return instance.getTime();
    }
Asserts that the provided subject alternative DNS names are returned as part of the subject alternative names in a certificate that is generated by {@link org.jivesoftware.util.CertificateManager#createX509V3Certificate(KeyPair, int, X500NameBuilder, X500NameBuilder, String, String, Set)}
xmppserver/src/test/java/org/jivesoftware/util/CertificateManagerTest.java