DateTime creationDate = new DateTime();
DateTime expirationDate = new DateTime(creationDate.getMillis() + config.ttl);
// These variables are used to build the trust assertion
Date creationTime = creationDate.toDate();
Date expirationTime = expirationDate.toDate();
// Create the subject
Subject subject = createSubject(config, doc, crypto, creationDate, expirationDate, data);
// Set the subject