public KeyInfo toDTO(){
  return new KeyInfo(available,usage,friendlyName,id,publicKey,Collections.unmodifiableList(getCertsAsDTOs()),Collections.unmodifiableList(getCertRequestsAsDTOs()));
}

public KeyInfo toDTO ( ) { return new KeyInfo ( available , usage , friendlyName , id , publicKey , Collections . unmodifiableList ( getCertsAsDTOs ( ) ) , Collections . unmodifiableList ( getCertRequestsAsDTOs ( ) ) ) ; }
converts this object to value object .
